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++

Have Questions? Post them here!

Top Hashtags: