Thursday, July 26, 2012

How to give your own default message on cmd prompt ?:Removing "Microsoft Windows [Version 6.1.7601]

Hey there,
To do the above trick:
1. Open registry Editor : run-> regedit.exe
2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
3. Make a new key with "String value" : Right click on "Command Processor" -> new -> String value
4. Rename the key as "AutoRun"
5. Modify the key value with "cls" to remove the windows default message and then press OK
6. If u want to show your own message change the value of "AutoRun" with:
"cls&&@echo off&&echo Your Message"
7. If u are familiar with the DOS commands then use them on "AutoRun" value by saperating them using "&&"
for example:"cls&&@echo off&&echo .::Ready for a ride on Black Perl: This is "Jack Sparrow"::.&&@echo on&&prompt ?"
Note: "&&" is used for concatination of two "values" (that are in this case DOS commands).