How to create a link to a file or folder in Windows (2 ways)

When you work with shared resources on a network, you may need to quickly get the link to a shared network folder and paste it into a chat window. Or, for example, you might want to know how to create a hyperlink to a file stored locally on your computer and use it to share that file with other users of your PC. Although it’s not exactly easy to figure out how, both Windows 11 and Windows 10 allow you to copy a file path as a link and to create links to a folder or even a library. Without further ado, here are the answers to questions like “How do I create a link to a file or folder?” and “How do I copy a file path as a link?”:

Contents

  1. Method 1: How to create a link to a file, folder, or library in Windows using the Sharing Wizard
  2. Method 2: How to create a link to a file, folder, or library on a shared drive using File Explorer
  3. My file path link doesn’t work! Why?
  4. Do you use file hyperlinks?

NOTE: This guide covers Windows 11 and Windows 10. Everything works the same in both operating systems. If you don’t know what your version of Windows is, read: How to tell what Windows I have (11 ways).

Method 1: How to create a link to a file, folder, or library in Windows using the Sharing Wizard

If you want to create a link to a file, folder, or library, you can use the Sharing Wizard. This wizard is enabled by default, both in Windows 11 and Windows 10. However, while in Windows 10, it works for all the items we mentioned, including files, in Windows 11, you can only use it for folders and libraries. To learn more about it, read this guide and follow it to share files, folders, or libraries: How to share folders, files, and libraries with the network, in Windows. Essentially, what you need to do is open File Explorer, navigate to the file, folder, or library you want to hyperlink, and right-click on it to see its context menu. Then, if you’re on Windows 10, select “Give access to” and click or tap on Specific people. If you’re using Windows 11, click “Show more options”, and only then go to “Give access to > Specific people.”

How to create a link to a file or folder in Windows (2 ways)

How to start the sharing wizard

Follow the steps of the sharing wizard and, during the final step of the process, when it informs you that the file, folder, or library is shared, don’t close the wizard.

How to create a link to a file or folder in Windows (2 ways)

The sharing wizard from Windows 11

Look carefully beneath the “Your file/folder/library is shared” notification. There, Windows says that “You can e-mail someone links to these shared items, or copy and paste the links into another app.”

How to create a link to a file or folder in Windows (2 ways)

The e-mail and copy links from the last step of the sharing wizard

If you click or tap the e-mail link, your default email client is opened, and the direct link is automatically pasted into a new message. And that’s how to send a link to a file via email.

How to create a link to a file or folder in Windows (2 ways)

Sending an email with the shared file link

If you press the “copy” link, the link to the shared resource is copied to the clipboard, and you can then paste it into other programs.

How to create a link to a file or folder in Windows (2 ways)

Copy and paste a shared file link

Method 2: How to create a link to a file, folder, or library on a shared drive using File Explorer

The second method applies to files, folders, and libraries that you’ve already shared on your Windows computer. If you’re wondering how to create a link to a file on a shared drive, this method works for that too.

Open File Explorer, go to the Network section, and double-click or double-tap on the PC that stores the file, folder, or library you want to link.

How to create a link to a file or folder in Windows (2 ways)

A computer/storage device from the local network

This shows you a list of all the folders that are shared with the network. Browse until you find the specific file, folder, or library for which you want the direct link.

How to create a link to a file or folder in Windows (2 ways)

The folders and files shared on a network device

If you’re using Windows 10, hold down Shift on your keyboard and right-click on the file, folder, or library for which you want a link. If you’re using Windows 11, simply right-click on it. Then, select “Copy as path” in the contextual menu.

How to create a link to a file or folder in Windows (2 ways)

Copy path for a file in File Explorer

Alternatively, in Windows 10, you can also select the item (file, folder, library) and click or tap on the “Copy as path” button from File Explorer’s Home tab in Windows 10.

How to create a link to a file or folder in Windows (2 ways)

Copy path for a file in File Explorer, on Windows 10

In Windows 11, press See more (the three-dot button) from the top toolbar and select Copy path from the menu displayed.

How to create a link to a file or folder in Windows (2 ways)

Copy path for a file in File Explorer, on Windows 11

Then, paste the link into the app or document you need it in. You should have something similar to this:

How to create a link to a file or folder in Windows (2 ways)

Copy and paste the file link in a document

For the folder, library, or file link(s) to be active, press Enter to make it clickable in the Office application where you copied it. When you Ctrl + click the link, File Explorer opens the shared file, folder, or library, if the network computer sharing that resource is available.

How to create a link to a file or folder in Windows (2 ways)

Making the file link clickable

My file path link doesn’t work! Why?

In some cases, the file links you create might not work. There are several possible causes. Here’s what you can try:

Regardless of whether you wanted to create a link to a file, folder, or library, in some apps, you might have to type “file:///” before the network path, like this:

The file link starts with the word file followed by the signs below

In other cases, depending on the apps in which you want to place the file links, you might also have to manually replace all the blank spaces in the link paths with this text: %20. Here’s an example:

How to create a link to a file or folder in Windows (2 ways)

Blank spaces can be replaced with %20 encodings

There’s also the possibility that on some older versions of Windows, or in other operating systems, the backslashes from the network paths aren’t recognized. In that case, you can try to replace all the backslashes (\) with forward slashes (/).

How to create a link to a file or folder in Windows (2 ways)

Backslashes can be replaced by forwarding slashes

Finally, note that, whatever you do, in some apps, file links simply don’t work as regular links. Such is the case with most web browsers and chat apps, which treat these local links as security threats. However, even so, the user who gets your file link can still use the link to get to that file, folder, or library. All he or she has to do is copy and paste the link in the address bar of (his or her) File Explorer and press Enter.

How to create a link to a file or folder in Windows (2 ways)

Copy and paste a file link in File Explorer’s address bar

Do you use file hyperlinks?

We hope that you’ve found these tips useful. If you know other ways to generate the link to the files, folders, or libraries shared in a network, don’t hesitate to let us know. Comment below, and let’s share all the ways to generate links in Windows.

Sign up and earn $1000 a day ⋙

How to pin comments on TikTok

How to pin comments on TikTok

How to pin comments on TikTok, TikTok allows users to pin comments easily. Here's how to pin comments on TikTok videos.

Instructions for Organizing a Q&A session on Facebook

Instructions for Organizing a Q&A session on Facebook

Instructions for Organizing a Q&A session on Facebook, Recently, Facebook has launched the feature to create a Q&A session, when you post a question for everyone to answer.

Instructions for installing and recording videos with Likee

Instructions for installing and recording videos with Likee

Instructions for installing and recording videos with Likee, Likee is an application that supports extremely beautiful and impressive video recording, and is loved by many young people today. The following,

How to export the list of meeting participants in Zoom

How to export the list of meeting participants in Zoom

How to export the list of meeting participants in Zoom, How to take attendance on Zoom is not difficult, it even allows you to export the list of students participating in the class.

How to change font on Xiaomi

How to change font on Xiaomi

How to change font on Xiaomi, Want to create a new image for Xiaomi device? Just follow the instructions below to change the font style and size above

Instructions for creating a mirror image effect on Picsart

Instructions for creating a mirror image effect on Picsart

Instructions for creating a mirror image effect on Picsart, Picsart is an application where users only need to perform a few simple steps to transform the photo.

How to add new fonts to Microsoft Word

How to add new fonts to Microsoft Word

How to add new fonts to Microsoft Word, Can't find the font you want to use for documents in Microsoft Word? Don't worry, you can install new fonts for Word according to these steps

How to turn off the computer screen and still keep the computer running

How to turn off the computer screen and still keep the computer running

How to turn off the computer screen and still have the computer running, How to turn off the PC screen and still have the computer running on Win 10/11? Very simple. Here's how to turn off the computer screen

How to fix facebook error logging in 3/2024

How to fix facebook error logging in 3/2024

To fix the “An unexpected error occurred” issue when logging in to Facebook, you can try the following steps

Cant access Facebook, Messenger and Instagram, how to fix it immediately

Cant access Facebook, Messenger and Instagram, how to fix it immediately

Users reported that their Facebook, Messenger and Instagram accounts were suddenly logged out and could not be accessed again, both on the app and web version.

Instructions on how to take photos on Tiktok are extremely simple

Instructions on how to take photos on Tiktok are extremely simple

Instructions on how to take photos on Tiktok are extremely simple. Tiktok is a famous application for recording and creating short videos on social networks. However, this application also

How to find and get Instagram links

How to find and get Instagram links

How to find and get Instagram links, Instagram is one of the most popular and easy-to-use social networking platforms today. However, because it is designed specifically for mobile,

Instructions for locking the mouse cursor when playing games on BlueStacks

Instructions for locking the mouse cursor when playing games on BlueStacks

Instructions for locking the mouse cursor when playing games on BlueStacks, Instructions for turning on/off the mouse cursor lock feature when playing games in the BlueStacks App Player emulator.

Instructions for installing and using Faceapp using an emulator on PC

Instructions for installing and using Faceapp using an emulator on PC

Instructions for installing and using Faceapp using an emulator on PC, Simple and easy instructions on how to install and use the Faceapp face editing app using an emulator on PC

Instructions for creating a cover photo group on Facebook

Instructions for creating a cover photo group on Facebook

Instructions for creating a cover photo group on Facebook, Creating a cover photo group is a feature that helps users set Facebook cover photos with many different images (maximum of 6 photos).

Mastering Technical Analysis with the Stochastic Indicator on Bubinga

Mastering Technical Analysis with the Stochastic Indicator on Bubinga

Learn how to effectively use the Stochastic Indicator for technical analysis on Bubinga. Explore advanced techniques to enhance your trading strategies

Instructions for adding angel wings to photos using PicsArt

Instructions for adding angel wings to photos using PicsArt

Instructions for adding angel wings to photos using PicsArt, PicsArt is a photo editing application used by many people today. Today WebTech360 will introduce the article

How to turn off the Just accessed notification on Zalo

How to turn off the Just accessed notification on Zalo

How to turn off the Just accessed notification on Zalo. This article WebTech360 will guide you to turn off the Just accessed notification under your Zalo chat name.

Instructions for blocking and unblocking accounts on TikTok

Instructions for blocking and unblocking accounts on TikTok

Instructions for blocking and unblocking accounts on TikTok. Similar to other social networking applications, TikTok also allows users to block someone's account

How to write a long status with a colorful background on Facebook

How to write a long status with a colorful background on Facebook

How to write a long status with a colorful background on Facebook, Today, WebTech360 will introduce some steps to post a long status with a colorful background on Facebook,