>>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?
Marco
Previous
Next
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