Display the full UNC path to a file

I have an issue where i have a mapped drive X: to a location   \\server\folder\folder2     which has a lot of sub folders within.  Everyone has permission to this drive but not the drive mapped.  I need to send out over 500 links to files within the folders to the whole company so when they click on the link will open the full unc path and not the drive mapping letter.

Is there a tool / script that i can use to be able to exstract the full unc location to a file so that i can send this out????

Would save me a lot of time to be able to write click or run a script to see the whole file



Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

How about setting you folder yo to "Show fuull path in address bar"?
Tools....Folder Options...View...

Do you need to send one like to 500 people or do you need to send multiple different links  to different people?
Assuming one link:
Create a .LNK to the location and send that out.
Example you have X: mapped to \\server\folder\folder2, create a shortcut to \\server\folder\folder2\folder4\folder7 and send that out.

higgsyAuthor Commented:

the show fulll path option still shows the mapped drive letter in there,  and unfortunatly its for 500 different files that need links...

cheers anyway
To see the whole path in the address bar:

1.  Right-click the Start button and click Explore
2.  In the left pane, expand My Network Places, Entire Network, Microsoft Windows Network, and Workgroup or domain name
3.  Find the machine hosting the share and click the desired file

The address bar will now have the UNC path, not the mapped drive letter.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Mohammed HamadaSenior IT ConsultantCommented:
Check this if it helps...
I’m not shore what you men but cold it be this

Shortcut Containing UNC and Static Paths
For a shortcut that contains both UNC and static paths, shortcut resolution is more complex. If the you have not disabled shortcut resolution, then the original network resource is used. If the shortcut is mapped to the drive specified in the static path, that drive is used. If the resource is mapped to a different drive, the new drive is used, and the shortcut's static path is updated with the new drive information. If the resource is not currently mapped to a drive, one is assigned automatically, and the shortcut is updated with the new drive information.

If shortcut resolution has been disabled, it is resolved to the specified static path. Note that the original UNC path information is still contained within the shortcut.

If the original network share is mapped to the drive specified in the static path, the shortcut is resolved to it, but the UNC path information is not deleted from the shortcut.

If a different network share has been mapped to the drive indicated by the static path, and the static path points to an existing file on that drive, then the UNC information is removed from the shortcut, and the shortcut is resolved like a local shortcut. The update to Shell32.dll causes UNC information in all shortcuts to be ignored if the DWORD value "LinkResolveIgnoreLinkInfo" is present in the following registry key, and set to a data value of "1":


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Display the full UNC path to a file from a Shortcut

You can download Shortcut.exe from here

And use it like this to see URL from a .lnk file.

Shortcut.exe /f:"your lnk file.LNK" /A:q
You're looking for a way to send out 500 different *links*? Or do you need to send out just a few UNC's so the user can open those and get directly to the files?

Why wouldn't sending the UNC link "\\server\folder\folder2" work? Each user would then open that link and be able to navigate "downstream" to their file.

What kind of project requires sending the link to the exact file for 500 different files? Maybe there's a more efficient way if you're actially trying to send out a UNC link to 500 different files.

If you have the file names in some text format you could use Excel to create a bacth file and accomplish the 500 different links pretty quickly.

Mohammed HamadaSenior IT ConsultantCommented:
Why do I need Link Mail?

You want to send a file to someone on your network, but maybe it is too large to send. The file may be named something like this:


But you can not send this path because the drive letter may not be G on the other computer. So you have to use what are called UNC file names like this:


So if you know this UNC name you can email this to someone on your network and they can just click on the link above and the file will open on their machine. By sending just the link you can avoid sending large attachments and clogging up email in boxes. LinkMail can help you do this by determining the UNC name. It then automatically opens your email program and places the link in the message. Just pick a recipient and press send. Even if you don't know the UNC name LinkMail does it all for you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.