-
TN
Guest
winscp.com /command "open user@host" "ls" > output.exe
Advertisement
Advertisement
winscp.com /command "open user@host" "ls" > output.exe
You can only redirect whole session:winscp.com /command "open user@host" "ls" > output.exe
This works fine from a command prompt but does not work well from my program (with appropriate escapes for "\") or the Windows "Run" dialog. The Run dialog produces the same results as my program - I get a console window that prompts for a user name, shows some errors, and does not redirect output."C:\Program Files\WinSCP3\WinSCP3.com" /script=C:\TEMP\SCR1.tmp > C:\TEMP\SCR2.tmp 2>&1
I'll try that. I never did.This works fine from a command prompt but does not work well from my program (with appropriate escapes for "\") or the Windows "Run" dialog. The Run dialog produces the same results as my program - I get a console window that prompts for a user name, shows some errors, and does not redirect output.
Advertisement
And what does it do? Where do you run the command from?winscp.com /command "..." "..." > out.txt
does not work. Any ideas?
Advertisement
Advertisement
You can post new topics in this forum