Re: Command-line Windows SFTP server
Yes
schtasks
should work. But WinSCP Session.ExecuteCommand
needs Linux shell. It won't work with Windows shell and Windows command. WinSCP is primarily an SFTP client. It's not the right tool to execute commands on SSH server.