How to Copy a File Path in Windows with a Shortcut

파일 위치 주소를 상단 주소창에서 길게 복사할 필요 없이 단축키 하나로 파일 전체 절대 경로를 클립보드에 담는 방법을 정리했습니다.

작성자

카테고리:

When working on projects or tasks, you often need to paste a file’s full path into a chat, document, or command prompt. Most people copy the folder address first and manually append the file name. Is there an easier way to copy the complete file path in one second using a shortcut or right-click?

At a Glance

  • Windows 10: Select file, Shift + Right-click → click ‘Copy as path’
  • Windows 11: Select file, press Ctrl + Shift + C to copy instantly
  • Paste: Press Ctrl + V in Notepad, Command Prompt (CMD), etc.
  • Path format: Automatically wrapped in double quotes (” “) to prevent spacing errors

Windows 10: Hold Shift and Right-Click

Windows 10: Hold Shift and Right-Click

Windows File Explorer includes a hidden feature. Hold down the Shift key on your keyboard and right-click on any file or folder.

An extended context menu will appear with a ‘Copy as path’ option. Clicking this immediately copies the complete absolute path to your clipboard, giving you the entire directory and filename at once.

You can paste the copied path anywhere—Notepad, Command Prompt (CMD), the Run dialog, browsers, or Excel—by pressing Ctrl + V.

Related Reading
Can You Recover Accidentally Deleted Desktop Files with a Shortcut?
How to Clear and Disable Recent Files in Windows File Explorer

Windows 11 and Other OS Shortcuts

Windows 11 and Other OS Shortcuts

In Windows 11, the process is even simpler. You don’t need to hold the Shift key—a regular right-click brings up ‘Copy as path’ directly in the main context menu, or you can find it under the three-dot menu on the top toolbar.

Starting with Windows 11 (version 22H2), you don’t even need the context menu. Simply select the file and press Ctrl + Shift + C to copy the path instantly.

Here is a summary of file path copy shortcuts across different operating systems:

Operating SystemShortcut / ActionMenu Location
Windows 10Shift + Right-click‘Copy as path’ in extended context menu
Windows 11Ctrl + Shift + C (or standard right-click)Default context menu and top 3-dot menu
macOSCommand(⌘) + Option(⌥) + CSelect file and press shortcut

Why Copied Paths Include Double Quotes

Why Copied Paths Include Double Quotes

When you use ‘Copy as path’, the copied path is automatically enclosed in double quotation marks (" "). This design prevents command-line tools like Command Prompt (CMD) or PowerShell from breaking the path if folders or file names contain spaces.

Windows does not currently offer a built-in setting to copy paths without quotation marks. If you need clean text without quotes, you can paste the text into Notepad and use the find-and-replace tool.

Older versions prior to Windows 7 may require registry edits or lack native support, so these shortcuts are best used in Windows 10 or later.

Open File Explorer (Windows + E), select a file, and try copying its path with the shortcut now.

Related Articles

References

1-Minute Video Summary

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다