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

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

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

 

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

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
Reply

 Run Commands - Create




Thread Tools




Similar help and support threads
Thread Forum
Batch Files - Create a Menu to Execute Commands
How to Use a Batch File to Create a Command Prompt Menu to Execute Commands This tutorial shows the process one goes through when creating a batch file that opens a command prompt menu allowing you to launch commands, programs and more. I will only be executing programs in this tutorial,...
Tutorials
How do I create a batch file to run commands on auto?
the thread that i made previously only got 1 answer that really didnt have anything to do with my problem so thought it would be ok if another one was made, and not trying to spam, here are the commands for the batch file netstop sppvc cd...
General Discussion
HDD Data lost, Diskpart Clean and Create Partition Primary Commands
Good day, afternoon, night. As the title explains I was trying to create a new primary partition in my Hard Disk Samsung HM500JI that I use as External Disk with an Acteck Enclosure USB 2.0 and with DISKPART I selected the Small Partition recently created and used the command "clean" (thinking...
Backup and Restore
How do I create my own custom commands in Windows 7
Hello Everyone, I want to create a utility software where i can create my own custom commands like copy, rename, move, delete etc. But i don't have any idea how should i proceed so please help me in this regard that how should i proceed further. Which language i should use to create it? OS...
General Discussion
Bat commands..
Okay im trying to make a mini-fool for my friend :D And i want to my friend donot see the bat file Is this the code to he cant see it? attrib +h %0 Thanks. - kuchiyo
General Discussion


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 11:05.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App