I set up a windows task schedule to run every 5 minutes. The task start the cmd.exe program and runs a command.
The problem is that every 5 minutes a cmd window is opened and its annoying. Is there a way to this with out 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:pass@" "rm "%f" " "close" "exit" 2 1 Answer
There is a way to hide the cmd window: choose "Run whether user is logged on or not" when creating the task.