How to Copy a File Path in Windows 10

Last updated on November 9th, 2026 at 02:11 pm

A form, a command window or a support agent wants the exact location of a file, and you can only see it in File Explorer. In Windows 10, hold Shift, right-click the file and select Copy as path, or select it and choose Copy path on the Home tab. The full path goes to the clipboard. Copy as path normally wraps it in quotation marks, so check the paste.

Applies to: Windows 10 File Explorer.

What a full path looks like

A full (absolute) path names the drive, every folder in order and the file name with its extension, for example C:\Users\Alex\Documents\Contoso budget.xlsx. Any program on the PC can find the file from that text alone. A relative path such as Documents\Contoso budget.xlsx only works from a known starting folder, so forms and support requests almost always want the full version.

Copy as path from the Shift right-click menu

  1. Open File Explorer and go to the file.
  2. Hold down Shift and right-click the file.
  3. Select Copy as path.
Windows 10 File Explorer right-click menu with Copy as path highlighted for a Contoso file
Hold Shift, right-click the file (1), and select Copy as path (2).
  1. Click where the path is needed and press Ctrl + V.

You should get something like "C:\Users\Alex\Documents\Contoso budget.xlsx", usually with quotation marks around it. On Windows 10 the option normally appears only when Shift is held down as you right-click, which is why many people never see it.

Copy path on the Home tab

  1. Select the file in File Explorer.
  2. On the Home tab, select Copy path.
Windows 10 File Explorer Home tab with Copy path highlighted and a file selected
Select the file (1), then Copy path on the Home tab (2).

Paste it and look at the result before you send it, so you know whether quotation marks came along. If the ribbon is collapsed, select Home once to open it. New to the clipboard? Copying and pasting in Windows 10 covers the basics.

Copy a folder’s path from the address bar

When you need the folder rather than the file, the address bar is quickest. Press Alt + D to select the address bar, and the location shows as text such as C:\Users\Alex\Documents\Contoso. Press Ctrl + C. This copy normally has no quotation marks.

Another route: right-click the file and select Properties. The General tab normally lists the containing folder next to Location, which you can select and copy; add a backslash and the file name yourself.

Remove the quotation marks, or keep them

Quotation marks hold a path with spaces together, so keep them when you paste into Command Prompt or PowerShell. Some other boxes accept them as well, but not all. If a web form or app rejects the path, delete the first and last character after pasting, or copy the folder from the address bar and add the file name.

Copy many paths at once

For a list of many paths, PowerShell is the dependable route. Copy the folder’s path from the address bar as above, open Windows PowerShell from the Start menu, and run this command with your folder path between the quotation marks:

(Get-ChildItem -Path "C:\Users\Alex\Scans").FullName | Set-Clipboard

Every file and folder path in that folder lands on the clipboard, one per line, without quotation marks. Jordan uses this to paste a list of 40 scanned invoices into a spreadsheet in one go. Add -Recurse after the closing quotation mark to include subfolders. Hidden files are left out unless you add -Force. Lists like these are also useful when you compare two folders in Windows 10.

You can also drag a file from File Explorer into an open Command Prompt window. In many cases its full path is typed for you, which saves a step before running a command on it.

Share a path someone else can open

A path like Z:\Reports\May.docx only works for people who mapped the same drive letter. For a file on a network share, send the network address, such as \\fileserver\Reports\May.docx, instead. You can usually find it by opening the share through Network in File Explorer and copying from the address bar there.

If the path does not work

  • Copy as path is not in the menu. Hold Shift before you right-click, not after, or use Copy path on the Home tab.
  • The pasted path has no file type. It still ends in the extension, but you may not recognize the file. Showing file extensions in Windows 10 helps you match names.
  • An app says the file cannot be found. Remove the quotation marks, and check that the path did not wrap onto two lines in an email or chat.
  • Very long paths fail. Some older programs reject paths over about 260 characters. Move the file to a shorter folder.

Common questions about copied file paths

How do I copy only the file name?

Select the file, press F2, press Ctrl + A and Ctrl + C, then press Esc so the name stays unchanged.

How do I open a path someone sent me?

Paste it into the File Explorer address bar or the Run box (Windows logo key + R) and press Enter.

Is it the same in Windows 11?

Windows 11 shows Copy as path on its regular right-click menu, with the keyboard shortcut Ctrl + Shift + C listed beside it, so you do not need to hold Shift there.