Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running system commands
Message
De
22/03/2007 09:40:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01206831
Message ID:
01207044
Vues:
27
Hi Naomi,


The command is a file transfer using pscp.

! /N7 pscp.exe -l username -pw password tranfile.txt username@serverip:directory

When I attempt to execute the command from within the click event it fails saying the command can't find the specified file but when I put the exact command within a batch file it works just fine. What gives ?

PSCP.exe, tranfile.txt is in the same directory as the form and it is the default directory.

I don't want to use a batch file because of the userid & password.



thanks,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform