Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,151,547 members, 7,812,721 topics. Date: Monday, 29 April 2024 at 06:04 PM

How To Shut Down Or Restart The Computer With A Batch File - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How To Shut Down Or Restart The Computer With A Batch File (1852 Views)

So I Asked Avast To Restart My PC In The Next Century / If You Were Imprisoned In A Room For 3 Months, Had A Computer With Internet..... / Program To Logoff, Restart, Hibernate And Shutdown Your System (2) (3) (4)

(1) (Reply)

How To Shut Down Or Restart The Computer With A Batch File by smobnology(m): 11:41am On Sep 21, 2015
Below are steps on how to restart, shutdown, and
hibernate a Windows computer from a batch file or
the command line.
Windows Vista, 7, and 8 users
Windows XP users
Windows 95, 98, and ME users
MS-DOS users
Microsoft Windows Vista, 7, and 8 includes a similar
shutdown command feature that XP did to shutdown
the computer through the command line, shortcut,
or batch files. Below are the steps required for
creating a shutdown, restart, and hibernate shortcut.
1. Create a new shortcut.
2. For the location of the shortcut type one of the
below commands depending on what you want to do.
To shutdown the computer type the below line in the
location text field.
shutdown.exe /s /t 00
To restart the computer type the below line in the
location text field.
shutdown.exe /r /t 00
To hibernate the computer type the below line in the
location text field.
shutdown.exe /h
3. Click Next, and then for the name of the shortcut
type either Shut down, Restart, or Hibernate and
then click Finish.
After completing the above steps, double-click the
shortcut icon to shut down, restart, or put the
computer into hibernation.
Additional information and options about the
shutdown command is on our shutdown command
page.
Microsoft Windows XP includes a new shutdown
command that allows users to shutdown the
computer through the command line, shortcut, or
batch files. Below are the steps required for creating
a shutdown and restart shortcut.
1. Create a new shortcut.
2. For the location of the shortcut type one of the
below commands depending on what you want to do.
To shut down your computer type the below line in
the location.
shutdown.exe -s -t 00
To restart the computer type the below line in the
location.
shutdown.exe -r -t 00
3. Click Next, and then for the name of the shortcut
type either Shut down or Restart and then click
Finish.... Continue reading http://www.smobnology.com/2015/09/how-to-shut-down-or-restart-computer.html?m=1

1 Like

Re: How To Shut Down Or Restart The Computer With A Batch File by AndreEmory: 1:54pm On Jan 11, 2020
A Ireland and all other territories of the tuna re improved for the future times. The execution of the essaypro reviews is marked for the judgments. Engineering is improved for the success. It is kept forward for the formation of the paths for humans. the chance is done for the ousting of the pictures. engineering is held for the forms of the shapes for humans.

(1) (Reply)

QB64 Error: C++ Compilation Error / Best network for browsing and cheap subscription plan / Urgent: Fortran To Matlab

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 18
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.