Last active
July 2, 2023 07:15
-
-
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.
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 prompt
to the lines 8 and 15 so it will have the same title as the "original".