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


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

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



Recent Forum Posts

SSL Now Active
dwirch posted on June 16, 2017 at about 8:40 in Site News

SSL Now Active
dwirch posted on June 13, 2017 at about 7:59 in Site News

Coding Archive?
dwirch posted on June 3, 2017 at about 12:54 in Site News

Job Spammer: Bharti Jigyasi
dwirch posted on June 2, 2017 at about 16:57 in Spammers

Coding Archive?
dwirch posted on May 25, 2017 at about 12:38 in Site News

BWASL returns
dwirch posted on May 13, 2017 at about 15:24 in Site News