Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXE problem
Message
De
17/08/2001 20:16:27
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00543696
Message ID:
00545755
Vues:
8
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform