How to open CMD for current file/folder location in Notepad++

If you have a use case where you want to open the location of the current tab (file) in Notepad++ with your Command Prompt (CMD) on Windows, you can make use of the option "Open Containing Folder" under File menu option and select "CMD"


  1. Open Notepad++
  2. Be on the tab (file) that you want to open using CMD.
  3. Now go to File -> Open Containing Folder -> CMD
    Open file containing folder in Notepad++
  4. This will open up CMD, with the path of the folder where the file is located.
    File location opened in CMD using 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:

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