
October 28th, 2003, 08:09 PM
|
|
Junior Member
|
|
Join Date: Oct 2003
Location: Singapore
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Redirect PSCP output to a file
I am using the PuTTY client and trying to issue a pscp command from a VBScript by:
ret = WSHShell.run("cmd /k cd c:\program files\putty\ & pscp -p URL:interface/outgoing/adhoc/* f:\jpn\interface\in\tog\adhoc\ & exit",2,true)
When run manually this command returns the message "pscp: wildcard '*' matched no files". I would like to redirect this output to a file, so I added " > c:\temp\pscp.out" but it doesnt work.
Any ideas?
|