
Here is an example:- backup.bat & shutdown /s /t 300 For example, you may want to shut down your computer after performing a backup. Why would you want to shut down the computer 5 minutes later instead of doing it immediately? But, this command is useful if you combine it with other, possibly long-running commands. Running this command from the console might seem like a useless thing to do.

So this command would lead to Windows waiting 5 minutes before the shutdown. The /t is for the timeout the timeout duration is specified in seconds.

Here the /s is for choosing the shutdown option, as opposed to hibernate, restart, etc.
