Last active
September 18, 2025 13:54
-
-
Save Alcotana/5eab32b2d97d1b41ad1db167e7de297c to your computer and use it in GitHub Desktop.
Open directory with "Node.js command prompt" using right-click menu command "Node.js here"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\directory\background\shell\nodejs] | |
| "Icon"="cmd.exe" | |
| @="&Node.js here" | |
| [HKEY_CLASSES_ROOT\directory\background\shell\nodejs\command] | |
| @="cmd.exe /s /k pushd \"%V\" & nodevars.bat" | |
| [HKEY_CLASSES_ROOT\directory\shell\nodejs] | |
| @="&Node.js here" | |
| "Icon"="cmd.exe" | |
| [HKEY_CLASSES_ROOT\directory\shell\nodejs\command] | |
| @="cmd.exe /s /k pushd \"%V\" & nodevars.bat" |
Thanks.
thanQ..
Thanks.
Works as expected on Windows 11, Thank You for the info.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the code @Alcotana. If you want you can change the title of the window adding
& title Node.js command promptto the lines 8 and 15 so it will have the same title as the "original".