How to copy file name and path to clipboard in Notepad++


If you want to copy the file name and the path of the file in the current tab you can do it in Notepad++ by simply right-clicking on the tab and selecting the below options as per your requirements,

  • Full file Path to Clipboard

    This will copy the absolute full path of the file: example: c:\User\c2c\Desktop\myFile.txt


  • Filename to Clipboard

    This will just copy the file name: example: myFile.txt


  • Current Dir. Path to Clipboard

    This will copy the path where the file resides: example: c:\User\c2c\Desktop\


Copy File name and path in Notepad++
Copy File name and path in Notepad++

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap