Myanmar IT Resource Forum
Myanmar IT Resource Forum

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

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~

sHa92


Founder



Founder
Wooo.. Nice Tech bro...
Thanks for sharing



Change We Need!
http://www.myanmaritresource.info

alt.332


Administrator



Administrator
wow nice.. thx too

http://www.myanmaritresource.info

C0D3R


MITR Master



MITR Master
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)
restar လုပ္ဖို႔ဆိုရင္ေတာ႔
ေအာက္ကကုတ္ေလးကိုစမး္ၾကည႕္လိုက္ပါ

shutdown -r -c"please your computer restare in 1 minuts" -t 60
အဆင္ေျပပါေစ

http://www.myanmaritresource.info

aung ko


MITR New User



ကြ်န္ေတာ္commom prompt ကိုေသေသခ်ာခ်ာတတ္ခ်င္ပါတယ္။အဲဒါဘယ္လုိေလ့လာရမလဲ။

ေနဦးသစ္


MITR Reader



MITR Reader
commom prompt ထဲမွာ ေရးလို့ ရတာေလးေတြ ကို က်ေတာ္
ၿဖည့္စြက္တင္ၿပေပးလိုက္ပါ တယ္ ေနာ္

devmgmt.msc = Device Manager
msinfo32 = System Information
msconfig = System Configuration (For Start up)
cleanmgr = Disk Cleanup
ntbackup = Backup or Restore Wizard (Windows Backup Utility)
mmc = Microsoft Management Console
excel = Microsoft Excel (If Installed)
msaccess = Microsoft Access (If Installed)
powerpnt = Microsoft PowerPoint (If Installed)
winword = Microsoft Word (If Installed)
frontpg = Microsoft FrontPage (If Installed)
notepad = Notepad
wordpad = WordPad
calc = Calculator
charmap = Character Map
msmsgs = Windows Messenger
mspaint = Microsoft Paint
pbrush = Microsoft Paint
wmplayer = Windows Media Player
rstrui = System Restore
waol = America Online
control = Opens the Control Panel
control printers = Opens the Printers Dialog
dxdiag = Direct X Diagnostic Tool


[You must be registered and logged in to see this image.]

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

Free forum | © PunBB | Free forum support | Contact | Report an abuse | Create a forum on Forumotion