Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command line parameters
Message
 
To
15/12/1997 11:55:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00065954
Message ID:
00065971
Views:
36
>>How can I pass command line parameters from my VFP created .exe into my code for use ? example MyExe /A causes form to do one thing, and MyExe /B caused it to do something else.
>>
>>Thanks In Advance
>
>Add PARAMETER as first line of your first prg module, i.e. if you run 'Myexe.exe qwe' and first line is PARAMETER cString, then cString="qwe"

Works good !
Passing a 'D' without the slash works good to meet my needs. Passing '/D' produces a VFP500.dll is invalid or damaged message. I'm unsure why, but just won't do that.

Thanks Again
Glenn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform