Your parameter begins with /c which is the command line switch that tells
VFP to use a specific config.fpw so it's looking for a configuration file
called f_autoexport.fpw. <g>
Either change the parameter, or leave off the / which will work just fine:
prog.exe cf_autoexport
(And yes, I know this from hard-won bitter practical experience. <g>)
I hope you really aren't trying to call an exe start.exe!
Dan
andipfaff wrote:
Quote:
Hi everybody,
I have compiled my application to a .exe file. When starting it,
command line switches will not be recognized (prog.exe
/cf_autoexport). A check with "wait window cp1" (cp1 is the first
command line parameter in the main prg) gives me a .f. as the result.
When starting the main prg with
DO start with "/cf_autoexport"
the switches work well.
What is the problem? I'm working with VFP8 engl SP1 on W2k.
Thanks in advance
Andi |