How To Turn Off Your Computer Using Notepad: 9 Steps (with Photos)

Notepad, a free text editor for Windows, is also a powerful code editing program. You can use some simple Windows commands in Notepad to create a file that turns off your computer at startup. This method is useful if you want to save a few clicks later when shutting down your computer, or if you’re joking with a friend.

Go up one step

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

Open Notepad. Notepad is a free text editor included with all versions of Windows. You can use it to write a program that automatically closes Windows at run time.

For Notepad, click the Start menu and “Programs ” → “Accessories ” → Select “Notepad “ to display. notepadYou can also click the Start menu to type and click Enter.

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

shutdown.exe -s The first line was _. A command to shut down the computer.

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

Add a timer using the flag . -t.. By default, the computer shutdown process is delayed by 30 seconds. To change this, add a flag and the number of seconds to delay . -t

For example, to write a command to wait 45 seconds and then shut down the computer shutdown.exe -s -t 45.

To create a command to turn off your computer immediately, type shutdown.exe -s -t 00:

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

Add a message to display. If desired, you can use it to add custom messages to the notifications that appear when your computer is turned off -c. In the above example, type. Comments must be enclosed in quotation marks.shutdown.exe -s -t 45 -c "komentar"

For example, you can enter to notify the user of the time remaining before the computer shuts down shutdown.exe -s -t 45 -c "Komputer akan dimatikan dalam 45 detik".

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

“File ” Click and select “SaveAs ” . It must be saved as a batch file , which is a file that Windows can execute to execute the shutdown command

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

“Save As ” “ Drop-down menu, then ” All File (*.*) Select “”. You can change the file format in this drop-down menu.

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

Delete the section . .txtIt is at the end of the file name. At the end. Replace with .bat.

If you don’t see the 3-character file extension, click here.

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

Save the file. A new copy of the file with the extension is created, and the .batfile displays icons other than the plain text file icon.

Cara Mematikan Komputer dengan Notepad: 9 Langkah (dengan Gambar)

Run the newly created file to start the shutdown process. The computer will shut down according to the rules you created.

Before running the program and shutting down your computer, make sure you have everything you need.

Leave a Reply

Your email address will not be published.

Back to top button