Link to home
Start Free TrialLog in
Avatar of wally_davis
wally_davisFlag for United States of America

asked on

Can someone show me the syntax for passing in Command Line arguments in Project/Debug* tab?

Can someone show me the syntax for passing in Command Line arguments in Project/Debug* tab?
I have a ComputerName = SANI, a Username = JACK and a password = Pass34

When i attempt to pass in anything I type, I get this message: "The current project settings specify that the project will be debugged with specific security permissions. In this mode, command line arguments will not be passed to the executable. Do you want to continue debugging anyway?
My question is why won't it pass the arguments to the command line?
I have these switches and code references --> RemoteShell.exe -C <ComputerName> -U <Username> -P <Password>. The variables in the code are remote_pc, user and pass respectively.

Thank you in advance Experts,
Wally
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wally_davis

ASKER

Well....I passed in the Command Line arguments, i.e. the way they're defined in the code and it still threw me the same error. This is in VS 2008.
I typed it in like this: -C SANI -U Jack -P Pass34 AND like this -C=SAN -U=Jack -P=Pass34.

Is there something else I need to configure or some other step I might have missed?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Works perfect now. Thanks Fernando!
Not a problem, glad to help.  ;=)