Topic "Windows 10 scripting - display console window while running"

Author Message
pcaautomation

Guest


Hi guys,

Loving the scripting capabilities of WinSCP! I've been using them with Task Scheduler on a Windows 7 machine and the console displays while the script is running.

I am running another scheduled script on a Windows 10 machine and it's working fine, but the console window does not display. I'd like to have it display to allow for monitoring of progress. Is there an argument or command I can add for this? Haven't been able to find anything while digging through docs/google/forum

Thanks for the help!
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26705
Location: Prague, Czechia
Either use winscp.com console interface.

Or use winscp.exe /console

See https://winscp.net/eng/docs/executables
pcaautomation

Guest


Thanks Martin. Turns out that it was actually due to selecting "Run whether user is logged on or not" option in Windows Task Scheduler. It will only display the console window if "Run only when user is logged on". I guess I'll just stick to watching the log file.
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License