I'm trying to run
shutdown.exe -l -t 10
only showed shutdown help manual.
I thought of inelegant but working solution of
ping -n 10 localhost shutdown.exe -l
How wasteful is this solution?
I thought of downloading sleep.exe, but I want my bat file to work on a machine with no previous preparations.
Any more ideas?