Hi
I am struggling to create a unattended scheduled backup up.
I am planning to do the following in a batch file running as a scheduled task.
a) Run shutdown.bat
b) Robocopy the entire adventnet directory to a different location
c) run run.bat
Shutdown.bat stops with a pause, i can see from the batch file that it supports arguments and that %2 is for the pause. But i can not find the correct arguments for %1 and %2 so that it will run silently.
Run.bat Starts Netflow and stops while active, thus it is not possible to execute commands in the active window, killing the process generates errors. So how can i run run.bat and make it close gracefully when netflow has started?
Another option would be to use net stop and net start commands, is that a supported way of doing this or is it a must to use the batch files?
Tanks
Kjetil