General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only