How to Copy File or Folder Path in Windows

Need to copy the file path or folder path? It is pretty straightforward. Let me show you how to copy the file or folder path Windows 11 & 10.

It is not very often, but there will be times when you need the file or folder path. For example, you need the exact file path when executing a command. Generally, most of us manually type the path as and when required. But you don’t have to do that. After all, manually typing in the entire path is a bit hard and prone to error. This is especially true for nested folders with deep paths.

Windows has built-in options and methods to copy the file path quickly. Along with the file path, you can also copy the folder path as and when needed.

The good thing is that copying the file path or folder path in Windows operating system is pretty easy and straightforward. You can do it from the right-click menu.

Let me show you how to copy the file path in Windows and the folder path.

Table of contents:

Copy file path in Windows

Windows gives you one option to copy the file path quickly. i.e., you can copy the file path in Windows from the right-click menu. Let me show you where to find the option and how to use it.

  1. Open the File Explorer.
  2. Find the file you want to copy the path.
  3. Right-click on the file.
  4. Choose the “Copy as path” option.
  5. The file path is copied to the clipboard.
  6. Use the “Ctrl + V” shortcut to paste the path where needed.

Steps with a bit more detail:

Since we want to copy the file path in Windows, we must open the File Explorer first. Use the “Windows key + E” shortcut to open the File Explorer. You can also click the File Explorer icon on the taskbar.

Find the file for which you want to copy the file path. Next, right-click on the file and choose the “Copy as path” option.

copy file path in windows

The file path is instantly copied to the clipboard. You can paste it where needed using the “Ctrl + V” keyboard shortcut.

Note: If the file path contains space(s), Windows will automatically add quotes around the file path. This is a good thing because, without these quotes, applications might misread the file path.

Copy folder path in Windows

You can copy the folder path from the right-click menu or address bar. I will show both methods. Follow the one you like.

Copy folder path from the right-click menu

  1. Open the File Explorer.
  2. Find the folder you want to copy the path of.
  3. Right-click on the folder.
  4. Choose the “Copy as path” option.
  5. The folder path is copied to the clipboard.
  6. Use the “Ctrl + V” shortcut to paste the path where needed.
copy folder path in windows

Copy folder path from the address bar

  1. Open the File Explorer.
  2. Find and open the folder for which you want to copy the path.
  3. Click on the address bar.
  4. Make sure the entire path is selected.
  5. Press the “Ctrl + C” shortcut to copy the folder path.
  6. The folder path is copied to the clipboard.
  7. Use the “Ctrl + V” shortcut to paste the path where needed.

Steps with a bit more detail:

Click the File Explorer icon pinned to the taskbar to open File Explorer. After that, open the folder of which you want to copy the path.

Once you are in the target folder, click on the address bar. This action shows and automatically selects the entire folder path. Select the folder path and press the “Ctrl + C” shortcut. You can also right-click on the selected path and choose “Copy.”

copy folder path from the address bar

The folder path is instantly copied to the clipboard. You can paste it where needed using the “Ctrl + V” keyboard shortcut.

Note: If the folder path contains space(s), Windows will automatically add quotes around the path. This is a good thing because, without these quotes, applications might misread the folder path.

That is all. It is simple to copy the file or folder path in Windows OS.

I hope this Windows how-to guide helped you.

If you are stuck or need some help, comment below, and I will try to help as much as possible.

Scroll to Top