Q&A for How to Shut Down a Computer Using Notepad

Return to Full Article

Search
Add New Question
  • Question
    Can I use this with cmd?
    Community Answer
    Yes. Just type, "shutdown/s/t 500" or however long you choose. To abort, type, "shutdown /a."
  • Question
    Does this shut down the computer for good or just until I restart it?
    Community Answer
    It does not shut your computer down for good. It shuts down your computer the same way as if you pressed the off button.
  • Question
    How do I change the icon of this file for a prank?
    Community Answer
    Rename the shortcut to what you want it to be called. Right-click, go to Properties and press "Change Icon". Press "Browse" and look for a suitable icon.
  • Question
    How can I do this to other people's computers?
    Community Answer
    1. Use a USB stick to put the file on the other person's computer and initiate it. 2. Email them the file (or send it via other forms of communication) and persuade them to open it.
  • Question
    Will an antivirus program block it?
    Community Answer
    No, antivirus programs will not block the shut down.
  • Question
    How do I get it to work? It does not work!
    Community Answer
    You can do it in Command Prompt. You can turn off any computer on your network by typing "/remote shutdown" then follow the steps from there.
  • Question
    How do I know when my PC is going to shut down?
    Community Answer
    There will be a message on your computer that pops up.
  • Question
    Does this only work on Windows computers?
    Community Answer
    Yes.
  • Question
    Will doing this harm our device?
    Community Answer
    No, it will not. This is just a shortcut and the function wouldn't be there if it was unsafe.
  • Question
    Once it begins to run, is there a way to prevent the shutdown?
    Community Answer
    No, you can't prevent the shutdown process once it has started.
  • Question
    What programming language is this batch file written in?
    Community Answer
    Windows Command Promp Script (Windows Bash). It can be used by opening a text file, entering code, and saving it as .bat or as .cmd at the end.
  • Question
    Is there a way to make it shut down over and over?
    Community Answer
    Well, technically not. The loop would break upon shutdown and won't resume on reboot. However, if you're the PC Administrator, you can try pasting the file into Windows Autostart Folder so it executes upon PC Boot. Just make sure you have enough time to cancel the script, as it can't be removed from anywhere else (except for a guest OS, but that's too difficult to set up for most people).
  • Question
    How do I turn on the computer the following day after I've shut it down using a BAT file at 2 a.m.?
    Community Answer
    Use the power button, or however you normally start your computer. Shutting down in this way is no different from shutting down the normal way.
  • Question
    Can I do this with restarting as well?
    Community Answer
    Yes, you can. You can look online for different commands that will help you to complete this process.
  • Question
    When I restart my computer, will it work normally again?
    Community Answer
    Yes. Shutting down the computer this way is no different than shutting it down any other way.
  • Question
    How do I put the shutdown code in after putting in other codes before it?
    Krump
    Community Answer
    The shutdown code should work regardless of what comes before it, as long as the program is not closed before the shutdown.exe is executed. It is likely your code has an error of some sort within it that means the rest of the program will not run.
Ask a Question

      Return to Full Article