I am trying to create a really simple task that uses sdelete
command as a scheduled task but when I run the task the CMD just flickers on and off and does not perform the task, so I want to see what it is doing on the CMD to troubleshoot the problem by keeping it on after it has completed.
program/script:
C:\Windows\System32\cmd.exe
Argument:
/c "sdelete -z"
Start in:
C:\Users