>>>Without an option to alter an executable, is there a command line that will allow for numeric switches?
>>>
>>>C:\mydirectory\myVFP.exe 9
>>>Starts the app, but the 9 is acted on as a character.
>>>
>>>Tanks in advance (sounds like a military statement).
>>
>>You can write wrapper EXE. Something like.
C:\mydirectory\myWrapperVFP.exe 9
>>* myWrapperVFP.exe Main.prg
>>PARAMETER tcPar1
>>DO (JUSTPATH(sys(16,1) + "myVFP.exe") WITH INT(VAL(tcPar1))
>>
>
>Excellent idea Sergey.
>You never know unless you ask - no matter how dumb the question.
Thre're no dumb questions, only dumb answers. :)
--sb--