0

how can I shutdown my system from the console with a command? I am new to programming console :/

screenshot

I already tried:

windows.exit
windows.norun
windows shauwtdownnow
3
  • The command prompt isn't really "programming" per-say. With normal use it's just various commands that you use to do certain things, which can be controlled by using "switches". You can type help in the command prompt to get a generic list of commands, then after that usually typing commandhere /? or commandhere --help will display help for the command you put where commandhere is. When you start using batch files and start using statements, that's when it starts becoming "programming".
    – user487867
    Dec 6, 2017 at 11:09
  • how is windows 95 relevant here? this should be found easily with a simple google search
    – phuclv
    Dec 6, 2017 at 12:07
  • what do you mean? i no say win 95, but 2000, the year of my gebirth <3
    – nichtgian
    Dec 6, 2017 at 12:11

1 Answer 1

3

Use shutdown -s to shut the pc down. You can also use shutdown -r to reboot or shutdown -h to hibernate.

1
  • The full range of the shutdown command options can be shown by typing shutdown /?. Also, see this link.
    – AFH
    Dec 6, 2017 at 10:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .