cmd shutdown
# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200
# Cancel Auto Shutdown Schedule
shutdown -a
cmd shutdown
# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200
# Cancel Auto Shutdown Schedule
shutdown -a
how to shut down a computer with cmd shorthand
shutdown -s -t 30
Note: 30 equals how many seconds you want it to take before shutting down
shutdown cmd
#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
system("C:\\WINDOWS\\System32\\shutdown /s");
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us