Inside Out

Notes on seeking wisdom and crafting software

Launch any program from Run command...

This small hack tells how to launch any program from the Run command (win key + r)

- Method 1:

Create a shortcut to the program you want to launch in the the same directory as the program. Then copy this shortcut file into the **WINDOWS** directory, i.e **C:\\WINDOWS** and rename this file to anything (any shortcut name) you want. Now just type in the name into Run command box and enjoy ;-).

- Method 2:
</p>
</strong></u>This is a registry hack for doing the same thing. It
doesn't need any shortcut thing. Do this at your own risk..

1.  First open the Registry Editor using type regedit in the Run.
2.  Then Navigate to
    </p>
    <p>
    **HKEY\_LOCAL\_MACHINE --\> SOFTWARE --\> Microsoft --\>
    Windows --\> CurrentVersion --\> App Paths**
3.  Now create a new key in there as
    </p>
    <p>
    **[shortcut name].exe** (dont forget the .exe extension
    otherwise it won't work)
4.  Modify the **Default** Value to the **[path to the program (e.g
    C:\\Program Files\\My Program\\Me.exe)]** of the program.
5.  Alternatively you can add a Path string and also set that up
    (optional only if you know the values you can see the path name
    from the properties of the program).

</p>
<p>
Now just typing the in the Run command should run the program.

Technorati Tags : [windows hacks](http://technorati.com/tag/windows%20hack), [create shortcuts](http://technorati.com/tag/create%20shortcut), [Hack run command](http://technorati.com/tag/Run%20command), [tips and tricks](http://technorati.com/tag/windows%20tips), [registry tweaks](http://technorati.com/tag/registry%20tweaks)