1 Let's run something while opening command prompt (CMD) 2nd August 2009, 5:50 pm
AcronomeArk
MITR New User
Do you wanna run something when you run cmd? Like when you run CMD, notepad is run or shuts down your computer (or others computer, if you prefer destruction rather than construction or if you life SHUTTING DOWN the windows every time, literally)
Here's the lil registry tweak for doubling the execution.
1) Locate
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
2) In the String value of "Auto Run", type whatever program you want to run when you execute CMD
for e.g, shutdown -f -s -t 00; in the string value and close registry editor.
(I'm not very sure about the restarting process so try yourself)
3) Now, when you run command prompt, through RUN box or from program menu, your computer will shutdown (if the shutdown command is enterd).
So be creative as much as possible and try it out.
It's nice to mess up with cmd so have fun.
Acro ~1879, 11:30~
Here's the lil registry tweak for doubling the execution.
1) Locate
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
2) In the String value of "Auto Run", type whatever program you want to run when you execute CMD
for e.g, shutdown -f -s -t 00; in the string value and close registry editor.
(I'm not very sure about the restarting process so try yourself)
3) Now, when you run command prompt, through RUN box or from program menu, your computer will shutdown (if the shutdown command is enterd).
So be creative as much as possible and try it out.
It's nice to mess up with cmd so have fun.
Acro ~1879, 11:30~