Skip to main content
paulm1677332
Inspiring
November 22, 2020
質問

Cf cli parameter question

  • November 22, 2020
  • 返信数 2.
  • 396 ビュー

Hi,

 

I am calling a cf script via the command line and passing various parameters one being an aws url. 

 

cf .\testScript.cfm cfpass=cfpassword dsnname=dsn_blaBla badparam=someUrl-staging.ctnszulukwoz.eu-west-1.rds.amazonaws.com
 
It doesnt like parameter badparam. Wrap the string in quotes and it still doesn't like it. Take it out and hardcode it in the script and it works. I need to pass it in as a parameter though. 
 
Anyone know what format will work here?
 
Thanks
このトピックへの返信は締め切られました。

返信数 2

Inspiring
November 23, 2020

What do you mean "it doesn't like the parameter "? Is there an error message?

paulm1677332
paulm1677332作成者
Inspiring
November 23, 2020

Hi,

Sorry I didnt put the exact error in. It says

badparam=someUrl-staging.ctnszulukwoz.eu-west-1.rds.amazonaws.com

(The system cannot find the file specified)