Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameter with .exe file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00363129
Message ID:
00363153
Views:
23
>Could anyone tell me how to pass a parameter when I run an .exe file ? I am getting an error when I used "do dummy with 'test'". Thanks

Put a LPARAMETERS statement at the top of your Main.PRG. Then you can run from FoxPro like what your doing, you can also run from teh Command Prompt or ShortCut with:

MyApp.EXE UPDATE

where "UPDATE" is teh parameter.
Previous
Reply
Map
View

Click here to load this message in the networking platform