Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE problem
Message
From
17/08/2001 20:16:27
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00543696
Message ID:
00545755
Views:
11
>I've been having problems (since our conversion to W2K) running VFP exe's. A recent one is this code fails when I run the exe (but works when I run the exe in the VFP environment):
>
>PARAM tcFilename
>CD "c:\program files\winzip"
>lcComm="run winzip32.exe -min -e -o "+ (tcFilename) + SPACE(1) + UnzipDir
>&lcComm && THIS IS WHERE IT FAILS


I don't see where you answered Gil's question (Message #543833). Sorry if I missed it. What do UnzipDir and tcFileName equal when you get the error?

Try:
lcComm='run winzip32.exe -min -e -o "'+ tcFilename + '"' + SPACE(1) + '"' + UnzipDir + '"'
This assumes the Winzip32 command accepts filename with spaces and thus would need them delimited with quotes.
Previous
Reply
Map
View

Click here to load this message in the networking platform