Run Commands - Create

Page 1 of 2 12 LastLast
    Run Commands - Create

    Run Commands - Create

    How to Create Custom Run Commands
    Published by
    Designer Media Ltd


    How to Create Custom Run Commands


       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
    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






  1. Posts : 186
    Windows 7 Ultimate x64
       #1

    Nice.

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


  2. Posts : 22,814
    W 7 64-bit Ultimate
       #2

    Looks good Cap'n!
      My Computer


  3. Posts : 4,772
    Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
    Thread Starter
       #3

    Thank You Ted !!
      My Computer


  4. Posts : 11,990
    Windows 7 Ultimate 32 bit
       #4

    Very good, Captain - and useful. Good job.
      My Computer


  5. Posts : 4,772
    Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
    Thread Starter
       #5

    Thanks Carl !!
      My Computer


  6. Posts : 1,325
    Windows7 Ultimate 64bit
       #6

    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 Computer


  7. Posts : 1,747
    window's 7
       #7

    another tweak.!!. thanks Capt .
      My Computer


  8. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #8

    Nice work, Mr. Sparrow!
      My Computer


  9. Posts : 4,772
    Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
    Thread Starter
       #9

    zzz2496 said:
    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 05:41.
Find Us