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 euser@plug1.ap.deuba.com: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?