I set up a Windows task schedule to run every five minutes. The task starts the cmd.exe
program and runs a command.
The problem is that every five minutes a cmd
window is opened and it's annoying. Is there a way to handle this without opening the cmd
window?
The command I run is:
/c for %f in (*) do "C:\Program Files (x86)\WinSCP\WinSCP.exe" /command "open ftp://user:[email protected]/" "rm "%f" " "close" "exit"