Hi instructable-maniacs. In this instructable I'll show you how to create some command-prompt programs (Windows) and update them. The programs will be created in command prompt and notepad. It's my first instructable, sorry for anything I don't write correctly (I am not English or American, either). Any comments and ratings will be accepted, bad or good. Also, I'd like to tell you that I'm building a program named Commander, which I'll upload later. Now, let's begin writing programs. For any questions email me to firstname.lastname@example.org
Step 1: Shutdown me!
First, I'll show you a little trick when your start menu is frozen and you want to shutdown your computer. Follow the steps as shown:
1. Start Run (WindowsKey + r)
2. Write cmd
3. When the command prompt opens, write:
shutdown.exe -s -f -t 60 -c "Command by B@B@$tr00mf"
Then, a dialog will oen which says that your pc will shutdown in 60 seconds and a message Command by B@B@$tr00mf.
I will now explain what each thing does:
cmd=Starts the command prompt of windows
shutdown.exe=Begins the program shutdown.
-s = Sets the shutdown program to shutdown. (-r for restart, -l for log off)
-f = Forces all programs to shutdown.
-t xxx = Sets the time until shutdown, where xxx is time in seconds
-c "xxx" = This part is optional. It sets the pc to display a message, where xxx is your message.
To stop a shutdown, write shutdown -a.
The shutdown fuction is available in my program, Commander, too. This won't work in pcs with windows 2000 or earlier (i've just tried this =).