I don't even know if this is possible, but is there anyway to shut down a machine after (n) minutes, using a batch file?
Currently I already have a batch file which works alongside ranorex and a virtual machine, and I need the machine to shut itself down after it has been idle for 10 minutes or so, just to give everything else in the batch file plenty of time to run. Is there any way of doing this?
Just use the command for shutdown and add the option for the time to wait:
/sis for shutting down the computer/tis for wait before do the operation with time in seconds (10*60=600)/fis for forcefully close all applicationsWith
shutdown /ayou can abort the action befor the time runs off. For more options use the help of theshutdown-command.