Here's the code:
**********
lRef= 'C:Program Files\Utvonal\Utvhatar.exe ' + 'hamiTszt.txt'
RUN =lRef
**********
I made a .bat file with a line 'Utvhatar.exe hamiTszt.txt'. It worked fine when running but when I tried from VFP, I got the same error message.
Tis is the code:
**********
lRef= 'C:Program Files\Utvonal\run.bat'
RUN =lRef
**********
The message I'm always getting is 'Bad command or file name'.
Thanks,
Tamas
>Can you post the exact code you're using?
>
>
>>I would like to have an .exe file running with a file as a parameter, which should start(the exe) within a prg. But I'm always getting the same error message:"Command error". I have tried command RUN but it doesnt work.
>>TIA
>>Tamas Szigeti
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only