fortypoundhead.com

Creating Program Aliases in Windows

Posted On 2007-05-03 by FortyPoundHead
Keywords: Creating Program Aliases in Windows (Windows 9x and NT)
Tags:  
Views: 1499


A hidden feature in the Windows registry allows you to create program aliases. Allowing you to create, for example, an alias called JBLOGGS.EXE that when executed actually runs another program, e.g. NOTEPAD.EXE
1. Open your registry and find the key below. Under it should be a number of sub-keys.
2. To create a new alias create a sub-key, and call it the name of the alias you wish to create (e.g. 'JBLOGGS.EXE').
3. Modify the (default) value of the sub-key to equal the fully qualified path and filename of the application you want to be launched when you execute the alias (e.g. 'c:\windows\notepad.exe').
4. Exit Regedit, and to test use the Start | Run command type in the name of your alias (i.e. 'JBLOGGS.EXE') and the aliased program should be launched, in this case Notepad.

Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths]
Value Name: (Default)
Data Type: REG_SZ
Data: Fully Qualified File Name (e.g. c:\windows\notepad.exe)


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.80.10.30

Before you can post, you need to prove you are human. If you log in, this test goes away.



Recent Forum Posts

New security implemented
dwirch posted on July 23, 2017 at about 6:58 in Site News

Fold Code Manager into main KB?
VB6Boy posted on July 22, 2017 at about 14:42 in Site News

Fold Code Manager into main KB?
dwirch posted on July 22, 2017 at about 14:41 in Site News

Fold Code Manager into main KB?
dwirch posted on July 21, 2017 at about 22:46 in Site News

Fold Code Manager into main KB?
dwirch posted on July 20, 2017 at about 7:55 in Site News

Job Spammer: Sam Mallon
dwirch posted on July 18, 2017 at about 18:36 in Spammers