::if you wish to shutdown a remote machine, ::this batch will shutdown the computer ::whose name you replace "wtr7109" with. ::NOTE: the machine must be connected to the same netowrk as you for this to work. ::Alternatively, if you wish to have the machine shutdown without restarting, simply remove "-r" echo off cls :daBegin echo Are you sure you wish to restart wtr7109?(y/n) set INPUT= set /P INPUT=Type input: %=% if "%INPUT%"=="n" goto daend ::the following line is where any changes will need to be made if "%INPUT%"=="y" shutdown -r -m -t 01\\wtr7109 :daend echo Ok then I guess that is all. set INPUT= set /P INPUT=Quit?: %=% if "%INPUT%"=="n" goto daBegin exit