View Single Post
Old 11-17-2008   #10 (permalink)
PainlessTorture


Windows Vista™ Ultimate x64
 
 

Re: Make a command prompt run a command as soon as it opens?

Quote  Quote: Originally Posted by validation View Post
Quote  Quote: Originally Posted by Fmjc001 View Post
Will this run the command line on every command prompt opened?
From what I have experienced, yes.
It does not matter how many you open, or the circumstances that started cmd.exe. Meaning that even if the command prompt was launched directly, through another program, from a shortcut or through the run dialog, it will always run whatever was put in the registry.
Yeah, I can see what that could be a problem....

Although, why did it run a shutdown command? It would have been much more fun to kill the wininit.exe :P
My System SpecsSystem Spec