Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Run Commands - Create


Run Commands - Create

How to Create Custom Run Commands
Published by Capt.Jack Sparrow
26 May 2010
Published by

How to Create Custom Run Commands


Note   Note
Using the Run / Start Search command in Windows you can use certain pre-defined commands to open up applications like we open MSCONFIG etc.


Here are the Steps


1. Go to Start under Start Search type in Regedit and Hit Enter



warning   Warning
Ensure to make a backup before you modify any Registry Entry



2.Follow this Link for help in backing up Registry :- Registry - Backup and Restore

3. Then go to

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths

Run Commands - Create-reg1.png


4. In the left panel, right click this App Paths key and choose New | Key and Type the Application name

Note: Don't forget to type the extension as well


For Example: CCleaner.exe


Run Commands - Create-reg2.png


5. In the right panel, double click on the Default string value and in the Value and in the box which opens, enter the path of the executable i.e. C:\Program Files\CCleaner\CCleaner.exe


Run Commands - Create-reg3.png


6. Now in the right side empty space again Right click | Select New | String Value. Name the key as Path. Double click and give it the value as the folder path i.e. C:\Program Files\CCleaner\


Run Commands - Create-reg4.png



7. Now you can close the Registry Editor and from Start | Run type in Application name i.e. CCleaner it would open the Application.





Hope this helps,

Captain



.

26 May 2010   #1
Loki

Windows 7 Ultimate x64
 
 

Nice.

You could also add the path the the Environment Variables: Path, if you'd rather not mess with the Registry directly.

My System SpecsSystem Spec
.

26 May 2010   #2
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Looks good Cap'n!
My System SpecsSystem Spec
26 May 2010   #3
Capt.Jack Sparrow
Microsoft MVP

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
 
 

Thank You Ted !!
My System SpecsSystem Spec
26 May 2010   #4
CarlTR6

Windows 7 Ultimate 32 bit
 
 

Very good, Captain - and useful. Good job.
My System SpecsSystem Spec
26 May 2010   #5
Capt.Jack Sparrow
Microsoft MVP

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
 
 

Thanks Carl !!
My System SpecsSystem Spec
26 May 2010   #6
zzz2496

Windows7 Ultimate 64bit
 
 

Very good, Capt'n... Btw, as Loki said earlier, there is another way to do this. All you need to do is add the "Path" of the corresponding program to "Path" environment variable, it's under "Advanced system settings"->"Environment Variables" button.

zzz2496
My System SpecsSystem Spec
27 May 2010   #7
kucing13

 

another tweak.!!. thanks Capt .
My System SpecsSystem Spec
27 May 2010   #8
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro Preview with Media Center
 
 

Nice work, Mr. Sparrow!
My System SpecsSystem Spec
27 May 2010   #9
Capt.Jack Sparrow
Microsoft MVP

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
 
 

Quote   Quote: Originally Posted by zzz2496 View Post
Very good, Capt'n... Btw, as Loki said earlier, there is another way to do this. All you need to do is add the "Path" of the corresponding program to "Path" environment variable, it's under "Advanced system settings"->"Environment Variables" button.

zzz2496
Yes we can do it that way. Also another easy way is to just Create a shortcut of the application or program. Rename it to any short name and place this shortcut in the Windows folder.
My System SpecsSystem Spec
Comment

 Run Commands - Create





Tutorial Tools



Similar help and support threads for2: Run Commands - Create
Windows 7 Tutorial Category
Run Commands for Windows 7 Tutorials
How do I create my own custom commands in Windows 7 General Discussion
Help Automatating CMD Commands General Discussion
Batch Files - Create a Menu to Execute Commands Tutorials
Solved Definitions of Commands General Discussion
Solved Bat commands.. General Discussion
Shortcut commands? Gaming

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 12:36 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33