Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running system commands
Message
From
22/03/2007 09:40:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01206831
Message ID:
01207044
Views:
29
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform