Simple steps to utilize Notepad for shutting down your PC
Notepad, the free text editor in Windows, doubles as a proficient code editor. You can employ basic Windows commands in Notepad to craft a script that initiates a shutdown when executed. This can be handy for streamlining shutdowns or for a playful prank on a friend.
Procedure

Launch Notepad. This application is bundled with every version of Windows and serves as a basic text editor. It allows you to create scripts that automate tasks like shutting down your system.
- You can access Notepad by navigating to the Start menu, then selecting 'Programs' → 'Accessories' → 'Notepad'. Alternatively, simply type notepad in the Start menu search bar, and hit ↵ Enter.

Enter .shutdown.exe -s on the first line. This command instructs the computer to shut down.






Ensure you save the file with a .bat extension. This action will produce a new copy with an icon distinct from a typical text file.

Execute the newly generated file to initiate your shutdown process. The shutdown will proceed in accordance with your predefined specifications. Remember to save any necessary work before initiating the shutdown program.
Helpful Hints
Cautions
- Undertake this action at your own risk. Provoking intense anger and frustration in others is a possibility.