Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DOS program works differently within VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01242242
Message ID:
01242260
Vues:
19
Okay, Borislav, your code was what led me to do this correctly. I only added some double quotes; it didn't like single quotes. The reason for the double quotes was chiefly to handle the long windows file names.

Thank you very much!!!

Here is the code that finally worked based on your suggestion:

This code was inside a SCAN. This is the final code. Notice that the Double Quotes are surrounded by single quotes.
lcParam1=oApp.cImageFolder + "\" + Photos.cFileName
lcParam2=lcPath2PICSFolder
lcParam3=lcImageName
lcCommand=[RUN C:\Dev\GetData\ProcImages.EXE ] + ;
   + '"' + lcParam1 + '"' + [ ] + ;
   + '"' + lcParam2 + '"' + [ ] + ;
   + '"' + lcParam3 + '"'
&lcCommand
Your code, Borislav.
lcParam1=oApp.cImageFolder + "\" + Photos.cFileName
lcParam2=lcPath2PICSFolder
lcParam3=lcImageName
lcCommand = [RUN C:\Dev\ProcessImage\ProcImages.EXE ]+ ;
   lcParam1+[, ]+lcParam2+[, ]+lcParam3
&lcCommand
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform