Opening Current Directory Command in Notepad++

notepad

I'm new to programming. I have a notepad++ but it doesn't have the "Open current dir cmd" in the run tab….Are there any alternatives for me to open my file notepad++ file in a command prompt? Please help me…. I have Windows 7 by the way if that's gonna do anything.

Best Answer

In Notepad++ v6.6.9 this function is already present.

  1. Right-click tab of desired document.
  2. From context menu, select Open Containing Folder in cmd.
    The command launches the following: cmd /K cd /d $(CURRENT_DIRECTORY) (This was taken from N++ source code.)

Similar question: Open folder in Explorer and select current file