Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Line Parameters
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733469
Message ID:
00733475
Views:
33
This message has been marked as a message which has helped to the initial question of the thread.
You can only pass string parameters into exe. You than can convert them to any type in your exe. You can either modify your main program or write a wrapper EXE.
* Call in windows, parameter separated by spaces
cxwrap.exe WITH .F. .T. CUST .F.
...
* cxwrap.exe main program
lparameters  tcPar1, tcPar2, tcPar3, tcPar4
DO ("cx.exe") WITH EVAL(tcPar1), WITH EVAL(tcPar2), tcPar3, WITH EVAL(tcPar4)
>What's the Windows command line equivalent of: DO CX WITH .F.,.T.,'CUST',.F. ??
>
>Do the parameters need to go into a .CFG FILE? If so, then my command line probably reads something like: CX.EXE -ccust.cfg. How would the parameter values be represented in the .CFG file?
>
>Thank you in advance for any help.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform