Skip to content

Instantly share code, notes, and snippets.

@rusco
Created April 15, 2016 15:06
Show Gist options
  • Save rusco/4f8ced5380a54cda14bde9392b0ffdde to your computer and use it in GitHub Desktop.
Save rusco/4f8ced5380a54cda14bde9392b0ffdde to your computer and use it in GitHub Desktop.
Associate .js files to node.exe on Windows
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Applications\node.exe]
[HKEY_CURRENT_USER\Software\Classes\Applications\node.exe\shell]
[HKEY_CURRENT_USER\Software\Classes\Applications\node.exe\shell\open]
[HKEY_CURRENT_USER\Software\Classes\Applications\node.exe\shell\open\command]
@="\"C:\\Program Files\\nodejs\\node.exe\" \"%1\" \"%*\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment