- my program should use winscp.exe instead of winscp.com?
Yes, as I wrote, use the
winscp.exe directly.
- my program should use winscp.exe instead of winscp.com?
winscp.exe directly.
winscp.com in Task Scheduler, as you typically cannot see the console anyway. Use the winscp.exe directly.
2.2 °) winscp.com as a command line + kill winscp.com from task manager
- I run winscp.com as a command line
- I open connection to whichever server, I do not change dir
- then I kill winscp.com with Task-Manager (EndProcess, not EndProcessTree)
- it does not kills winscp.exe
winscp.com from the cmd.exe console. I do not even connect anywhere nor type any commands, for simplicity. In Task manager I find the winscp.com process and select "End process". Both winscp.com and winscp.exe are killed.
winscp.exe should get killed with the winscp.com. If you run the winscp.com manually from a command-line and kill it with Task Manager, is the winscp.exe killed?