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.
- Open the File Explorer.
- Find the file you want to copy the path.
- Right-click on the file.
- Choose the “Copy as path” option.
- The file path is copied to the clipboard.
- Use the “Ctrl + V” shortcut to paste the path where needed.
Steps with more details:
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.
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
- Open the File Explorer.
- Find the folder you want to copy the path of.
- Right-click on the folder.
- Choose the “Copy as path” option.
- The folder path is copied to the clipboard.
- Use the “Ctrl + V” shortcut to paste the path where needed.
Copy folder path from the address bar
- Open the File Explorer.
- Find and open the folder for which you want to copy the path.
- Click on the address bar.
- Make sure the entire path is selected.
- Press the “Ctrl + C” shortcut to copy the folder path.
- The folder path is copied to the clipboard.
- Use the “Ctrl + V” shortcut to paste the path where needed.
Steps with more details:
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.”
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.