Prevent "- Shortcut" suffix when creating shortcuts on Windows 7

5

2

Some superuser answers and many other Google hits show that setting link to 00 00 00 00 for the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ will stop concatenating the suffix - Shortcut when shortcuts are created.

I'm using Windows 7 and this has not worked for me. I have tried

  • manually setting the key,
  • using Ultimate Windows Tweaker
  • and running a .reg file,

but none have worked.

I have set the value, created the shortcut, noted the - Shortcut suffix and checked that the regkey value was still 00 00 00 00. The value persists across reboots. Could all those references really be wrong, or am I missing something?

Tim Partridge

Posted 2010-07-01T01:25:13.897

Reputation: 295

Answers

5

It seems that a reboot was all that was necessary for the tweak to start working. Indeed, setting the value to 00 00 00 00 did it. Maybe a reboot was more than necessary, and just killing and restarting explorer.exe would have done it.

Tim Partridge

Posted 2010-07-01T01:25:13.897

Reputation: 295

@Tim_Partridge Mark your answer as accepted. This way other users can see that an official answer exists – evan.bovie – 2011-05-25T21:09:12.900

3

The procedure as described above with setting the String Value of Link to all zero did not work for me. Even after restart, the suffix - shortcut was still there. Sometimes, it also happened that the Link String Value was reset to e.g. 16. However, I found an alternative that worked for my Windows 7 Ultimate 64 bit. Here is the trick:

  1. Open the registry editor: Start Menu » Run » regedit

  2. Save (export) a copy of the current registry – just in case of a mistake. Best is to save it on the desktop and give it a name with the date and some explanation that describes when you saved this copy (e.g. "20120319 registry before removing shortcut suffix")

  3. Then, you navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\

  4. If there is a key called "NamingTemplates" already, then you may enter a new string value directly and skip the next step #5.

  5. If there is no such key called "NamingTemplates", create this key under the above path. To do so, left-click on "Explorer" in the above path, then right-click in the right half of the window and select new >> key. Rename the key to "NamingTemplates". The complete path is then: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates

  6. Now, under the key "NamingTemplates" you create a String Value with the name "ShortcutNameTemplate" (without the quotes). To do so, left-click on the key "NamingTemplates" and then make a right-click in the right half of the window. Select new >> string value. Rename the String Value to "ShortcutNameTemplate". For this, you need to right-click on the String Value and select >> Rename.

  7. Then, you right-click once again on the newly created String Value, select >> Modify and enter the value "%s.lnk" (again without the quotes).

  8. Exit and close the registry editor

  9. Then, for the change to take effect, close the Exit Windows Explorer and open it again. Now, the "-shortcut" suffix is gone.

Here is also the screenshot how it should look like after the changes: Registry after the changes to suppress the "-shortcut" suffix in Windows 7

If later on, you need to reverse the change:

  • If you had to create the key "NamingTemplates" -> then, just delete this key to make the change undone
  • If the key was already there, then you should set its value back to the original value, before the change (i.e. you should keep record...)

UOB

Posted 2010-07-01T01:25:13.897

Reputation: 31

There's an error here. You wrote ...setting the String Value of Link.... The "string" data type is wrong. Instead Microsoft says that the Link value must be of type REG_BINARY. Just tested it. Works.

– StackzOfZtuff – 2016-06-07T11:00:14.980

Is there a placeholder for the file / folder name without extension? I would prefer to have a link named "Document" instead of "Document.odt" for example. String worked for me. – Vince42 – 2017-10-26T22:08:47.433

2

Restarting Explorer is sufficient, there's no need to reboot.

Open the Start Menu, find a blank area and press Ctrl + Shift whilst right clicking there. Choose the Exit Explorer option.

Michael9000

Posted 2010-07-01T01:25:13.897

Reputation: 21

For the record: in earlier Windows versions, close Explorer through Start - Turn Off (or Start - Shut Down), then hold Ctrl+Alt+Shift and click Cancel. – user1686 – 2011-05-26T16:47:18.410

1

The Windows Club's Ultimate Windows Tweaker (direct or via search) did the trick for me on Windows 7 Professional 64-bit. I simply checked its Remove "-Shortcut" suffix for new shortcuts option under Additional Tweaks.

J0e3gan

Posted 2010-07-01T01:25:13.897

Reputation: 279

True, @sim: I updated my answer to at least deal with the possibility that the specific, direct link I provided to UWT no longer resolves. Of course, if UWT simply isn't available at some point, there's not much that will help the answer stand on its own. – J0e3gan – 2013-04-20T04:48:04.713

1Agreed, but at least now it's a little more substantial an answer. Thanks for taking the time to enhance it! – slm – 2013-04-20T04:49:41.417