can i use windows command to run
such as cmd /c start, chkdsk, schtasks /create.
Yes, Windows SFTP/SSH server is SFTP/SSH server as any other.
It makes no sense to execute a GUI application in an SSH session. What do you expect it to do? Did you think it will open the GUI application in the interactive Windows session? It cannot. The SSH and interactive sessions are isolated.
schtasksshould work. But WinSCP
Session.ExecuteCommandneeds 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.
You can post new topics in this forum