Answers for "shutdown command cmd"

9

cmd shutdown

# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200

# Cancel Auto Shutdown Schedule
shutdown -a
Posted by: Guest on January-17-2021
0

shutdown from command prompt windows 7

shutdown /s   --> for shutdown
shutdown /r   --> for restart
shutdown /l   --> for log off
Posted by: Guest on March-07-2021
0

shutdown cmd

#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
   system("C:\\WINDOWS\\System32\\shutdown /s");
}
Posted by: Guest on July-07-2021

Browse Popular Code Answers by Language