Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters in the RUN command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00228421
Message ID:
00228423
Vues:
13
Try this:
pgm = 'C:\ftp\des.exe '+ALLTRIM(FileName)
RUN &pgm
>Hi,
>
>I'm trying to use the RUN command using variables into the command line. The external program is a DOS encryption application and I'm trying to do this in VFP5. The result is bad command or file name. If I don't do the substitution it works fine. For example
>
>pgm = 'c:\ftp\des.exe' && this is taken from the .ini file
>filename = 'file.txt' && this is passed into this procedure
>
>RUN allt(pgm) + allt(filename)
>
>Any suggestions or solutions
>
>Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform