>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,
I think you need to invoke pscp with the full path and tranfile.txt with the full path too. Try that.
If it's not broken, fix it until it is.
My Blog