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.
cxwrap.exe WITH .F. .T. CUST .F.
...
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--