loading

In this Instructable, I will show you how to shutdown your pc using cmd and how to overwrite it.

Step 1: Open Cmd

In the search dialogue box, type cmd and hit enter,

Step 2: Type Your Command

After opening Command Prompt, type 'shutdown -s -t ___'.

In the blank space, type the time in which you want your pc to shutdown and the time must be in second.

After typing the time press Enter and your pc will shutdown in the given time.

Step 3: Overwriting Your Command

Suppose you have to cancel your shutdown command, follow the given steps

  1. Open My Computer.
  2. Navigate to Local Disk C:.
  3. On the top write corner, a search dialog box is placed, in the search box, type Shutdown.
  4. Many Folders naming Shutdown will appear, chose the shutdown application having a Application sign.
  5. Drag and drop this folder to Desktop.
  6. Double click the application and it will cancel your shutdown command.

You have cancelled your Shutdown Command.

Please like and follow me.

Thanks

The same command can be used in a .bat file. You can then have the file on your desktop (or any convenient location) and run it without having to type anything.
Handy. Maybe you could list the steps for doing it in Linux and Mac too!

About This Instructable

1,283views

15favorites

More by Pranav Tyagi:BATCH CRACKER Shutdown using cmd Java Basics 
Add instructable to: