How to trap output running linemode

Advertisement

madams
Joined:
Posts:
2
Location:
San Jose, CA. USA

How to trap output running linemode

Running WinSCP416 on Windows XP

Just wondering if anyone knows how to redirect the output when running winscp in line mode using /script

Since it spawns a second dos window the normal redirect syntax does not work.

I'm running the standalone executable "winscp416.exe".

Everything works great, I just need to append to a logfile for reference. The /log option has way do much detail.

Thanks for any help!!!!
Mike

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,096
Location:
Prague, Czechia

Re: How to trap output running linemode

Use winscp.com, instead of winscp.exe, and use normal output redirection:
winscp.com > output
See documentation.

Reply with quote

madams
Joined:
Posts:
2
Location:
San Jose, CA. USA

Will that work with the standalone executable(winscp416.exe)

Will that work with the standalone executable(winscp416.exe)? Do I need to do a standard installation on another computer to get the winscp.com and copy it to the same directory as the winscp416.exe? Does that then know to call winscp416.exe?

Thanks,
Mike

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,096
Location:
Prague, Czechia

Re: Will that work with the standalone executable(winscp416.exe)

madams wrote:

Will that work with the standalone executable(winscp416.exe)? Do I need to do a standard installation on another computer to get the winscp.com and copy it to the same directory as the winscp416.exe? Does that then know to call winscp416.exe?
Yes you need to get the .com from installation. You have to match names of the .com and the .exe in either way.

Reply with quote

Advertisement

You can post new topics in this forum