Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass parameter to an executable
Message
From
12/07/2004 21:41:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Pass parameter to an executable
Miscellaneous
Thread ID:
00923514
Message ID:
00923514
Views:
69
I want to call an executable I built in VFP 7 and pass a paramter that instructs the code to perform a particular task based on what is passed to it. I have tried the standard format: myexe.exe stuffit but that does not seem to work. The program fails because the parameter is not recognized. I have the "parameter" statement as the first line of the main.prg. I've looked this up in the archives but don't see anything that seems out of order. What do I need to do to get this to work?

TIA!
Vicki Combs
Customized software for today AND tomorrow...
Applications and web sites designed, developed and maintained. (MBE)

"Change is inevitable...unless that's changed!
Next
Reply
Map
View

Click here to load this message in the networking platform