TransWikia.com

Is it possible to make Windows 10 show symbolic links with a different icon in Explorer?

Super User Asked by Josh Comley on December 18, 2021

I would like to know when I am browsing a symbolic link folder as I have had issues with copying directories then missing the fact that symbolic links have been lost through the copy operation etc. Is there a way to visualise symbolic links in Explorer?

2 Answers

Sorry about the bad answer before.

You can either right click the symbolic link (this may have not been an option in previous versions of windows) and open Properties > Customize > Change Icon...

or

Create a desktop.ini file in the folder the symbolic link opens and add in the following:

[.ShellClassInfo]
IconResource=C:WindowsSystem32imageres.dll,137

You can get the number doing the first option on a local folder and copying it's desktop.ini. Got the info from here: https://superuser.com/a/687031/986631

I know this post is old but here is a solution I found. Their may be an easier/better way but it has worked for me. You will need to change the CreateShortcut, TargetPath, and IconLocation. Icon numbers start with 0 and count going from top to bottom. It may not show the icon right away but you will be able to at least change it once created.

$Shell = New-Object -ComObject ("WScript.Shell")
$Favorite = $Shell.CreateShortcut("C:Users$env:usernameAppDataRoamingMicrosoftWindowsNetwork` ShortcutsTest.lnk")
$Favorite.TargetPath = "\serverdirectory";
$Favorite.IconLocation = "%SystemRoot%system32imageres.dll,8"
$Favorite.Save()

Answered by NasalNomad on December 18, 2021

Natively, no, there does not appear to be a way to do it.

But you can with an Explorer shell extension, such as Link Shell Extension.

Answered by Darren Monahan on December 18, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP