Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run command (!) failed in Win 2k

Status
Not open for further replies.

RiverPlate

Programmer
Feb 5, 2004
5
AR
I have a computer in a Win2k network, with Win2000 Pro SO.
A process needs to use the RUN ! command to call another EXE and it works properly all over the network in Win98 workstations but in that appears:
"Run Command Failed !"
Is there any way to solve it ?
Thanks
 
If you are using FPD
====================
Can you execute the run command successfully from the foxpro prompt?

If ok, you may have insufficient memory below 640k free when running the program that calls the !run .

If not, check if the path to the file is properly mapped, and that you have priviledges to this file.

Check out the top left menu SYSTEM item 1, 'About Foxpro' at the Command window
 
You most likely need to change COMMAND.COM to CMD.EXE in your FOXRUN.PIF.
FOXRUN.PIF is located in your Foxpro install (or startup) directory.
Right click and go to properties. Click 'Programs'. Change the 'Cmd line' text box to CMD.EXE and Apply.


-Dave S.-
[cheers]
Even more Fox stuff at:
 
There can't be any spaces in the path to your EXE when using the the RUN command...you must use the DOS 8-3 naming conventions. Just a thought in case the path to the exe you are trying to execute is different on the Win2k Pro machine than the others and it contains spaces.

Slighthaze = NULL
craig1442@mchsi.com
"Whom computers would destroy, they must first drive mad." - Anon​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top