Fellows,
say, you made a program in VFP with the first line being LPARAMETER tcParam, then compiled it into an EXE.
Of course, it perfectly runs from VFP IDE as DO MyProgram.PRG WITH "StringParam" off the Command window.
Now you need to run this EXE off the Windows environment WITH PARAMETER - how do I do this?
I tried to run it of the Start Menu/Run box, where I entered something like C:\MyProgram\MyProgram.EXE "StringParam" - and EXE ignored my parameter.
I ran it like C:\MyProgram\MyProgram.EXE StringParam (no qutation marks) - same thing.
What am I doing wrong?
Thanks!
Regards,
Ilya
say, you made a program in VFP with the first line being LPARAMETER tcParam, then compiled it into an EXE.
Of course, it perfectly runs from VFP IDE as DO MyProgram.PRG WITH "StringParam" off the Command window.
Now you need to run this EXE off the Windows environment WITH PARAMETER - how do I do this?
I tried to run it of the Start Menu/Run box, where I entered something like C:\MyProgram\MyProgram.EXE "StringParam" - and EXE ignored my parameter.
I ran it like C:\MyProgram\MyProgram.EXE StringParam (no qutation marks) - same thing.
What am I doing wrong?
Thanks!
Regards,
Ilya