Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Shortcuts With Proper File Names 1

Status
Not open for further replies.

Mr3Putt

Programmer
May 27, 2003
320
IN
I, for the life of me, cannot find any good reason for the following:

When I select some files, right-click and drag them to another directory, release and select "Create shortcuts here"... My shortcut names appear to be the exact same as the original file name (as long as I'm not creating them in the self-same directory).

Whenever most anyone else follows the exact same sequence of events, their shortcuts are named "Shortcut to FileName.xxx". What's with the "Shortcut to..." stuff? Why doesn't it appear when I create them?

How the devil can I STOP the "shortcut to..." portion from appearing for other users.

I know that I can edit the name at will, but it just seems deliriously odd that it works one way for me and another way for everyone else. What the heck did I set? And how can I do it again?

[red]Note:[/red] [gray]The above comments are the opinionated ravings of Mr3Putt. As such, Mr3Putt accepts no responsibility for damages, real or contrived, resulting from acceptance of his opinions as fact.[/gray]
 
I never ran TweakUI stuff... But there are some mind-bogging sources of info out there.

The Microsoft answer to having your shortcuts created without the "Shortcut To" part is:

[ol][li]Right click a file and select "Create Shortcut".[/li]
[li]Select the shortcut and rename it, deleting the "Shortcut to" part.[/li]
[li]Delete the shortcut.[/li]
[li]repeat this process FIVE TIMES[/li]
[li]on your sixth attempt, the shortcut will be created without the unwanted text[/li]
[/ol]

Sheesh. Instead, I just wrote a registry file that drops it, and another to replace it. Much much simpler.

Here's the code for both .reg files. Please note that this is for WINDOWS XP Professional Edition, and has been tested on no other Operating System or version. Proceed at your own peril:

REMOVING THE TEXT
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\]
"link"=hex:00,00,00,00
PUTTING IT BACK
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\]
"link"=hex:00,0F,00,00

[red]Note:[/red] [gray]The above comments are the opinionated ravings of Mr3Putt. As such, Mr3Putt accepts no responsibility for damages, real or contrived, resulting from acceptance of his opinions as fact.[/gray]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top