Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN command problem
Message
From
01/08/2001 17:33:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
RUN command problem
Miscellaneous
Thread ID:
00538572
Message ID:
00538572
Views:
43
Hi all,

I have a problem when I issue a RUN command against a batch file. The situation is like this:
* testrun.bat
start myApp.lnk && this is a shortcut to the app I intend to run
pause           && to show the error when being run from VFP
exit
* end of testrun.bat
I have no problem at all running the batch file from the command prompt. However, when I run it from VFP using the RUN 'testrun.bat' command, I get the DOS error: Bad command or file name.

Error occurs in both Win NT and Win 2K Adv Serv. Batch, .Lnk and VFP are on the same folder.

The reason I used a shortcut is that; it contains the START IN location which is a UNC path. Should I make some changes to Foxrun.pif? Appreciate all kinds of feedbacks.
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform