Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot find command.com
Message
From
22/06/1999 12:55:29
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00231999
Message ID:
00232575
Views:
21
>>>>We like to unzip a file from within our VFP 6.0 program. So we call pkunzip to do the job (!PKUNZIP ...) On most machines this works fine but on one machine we get the message 'Cannot find command.com'. However we can start a dos-prompt and even pkunzip manually. The machine has a correct path and comspec. There is no FoxRun.pif because there is no VFP6.0 installed but if I create one it won't work. Even make copies from the command.com to all common directories won't help.
>>>>
>>>
>>>Someone has modified the DOS search path and forgotten to include the directory containing command.com; it'probably either something in AUTOEXEC.BAT or something done by a login script. If this is Win9x, make sure that the \WINDOWS and \WINDOWS\COMMAND directories are in the search path. If this is NT, check the AUTOEXEC.NT for the system, and you might want to associate a custom one with PKUNZIP.
>>>
>>>You also might try using my API_APPRUN class instead of the RUN command.
>>>
>>>>Do you have a suggestion to solve this problem? (Or do you know if there is a third party product to unzip files, it must be zip)
>>>>
>>>>Thanks,
>>>>Marco
>>
>>Thanks for your help. I know for sure the dos search path is correct. I like to try your Api-appRun class. Where can I find it?
>>
>
>It's available for download here on UT in the Files Section.

Going back to the original problem, look in your config.sys file and see if there's a SHELL= command. If there is, try REMmin it...
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Previous
Reply
Map
View

Click here to load this message in the networking platform