Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters to exe
Message
From
03/01/2002 15:26:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00600039
Message ID:
00600462
Views:
24
Ken,

>Are we talking about parameters or switches? I thought the original poster wanted to send a parameter 'clean' to his exe. If you put a dash, it becomes a switch, not a parameter -clean makes the exe look for a config named 'lean'. If you just send clean without the dash, you will get it in the exe as a parameter. I thought that was the way it works. I have been sending parameters into the exe since fox dos with no problems.

I think you've hit the nail on the head here ... when I tested it, I arbitrarily used /S and -S, which worked flawlessly. But, the original poster, Rodrigo, wanted to use -Clean. It just so happens that -C indicates a switch in FoxPro to look for a config file!!! A different word after that '-' would've worked fine.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform