0

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"
2

1 Answer 1

1

To hide the cmd window, choose "Run whether user is logged on or not" when creating the task.

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .