| 1 |
Windows Registry Editor Version 5.00 |
| 2 |
|
| 3 |
|
| 4 |
; WARNING: before run replace PATH_TO_APP with correct value |
| 5 |
; Example: C:\\Anaconda3 |
| 6 |
|
| 7 |
[HKEY_CLASSES_ROOT\Directory\shell\AnacondaJupyterNotebook] |
| 8 |
; This will make it appear when you right click ON a folder |
| 9 |
; The "Icon" line can be removed if you don't want the icon to appear |
| 10 |
@="&Jupyter Notebook There" |
| 11 |
"Icon"="\"PATH_TO_APP\\Menu\\jupyter.ico"" |
| 12 |
|
| 13 |
[HKEY_CLASSES_ROOT\Directory\shell\AnacondaJupyterNotebook\command] |
| 14 |
@="cmd /K pushd \"%1\" && \"PATH_TO_APP\\Scripts\\activate.bat\" && jupyter-notebook" |
| 15 |
|
| 16 |
|
| 17 |
[HKEY_CLASSES_ROOT\Directory\Background\shell\AnacondaJupyterNotebook] |
| 18 |
; This will make it appear when you right click INSIDE a folder |
| 19 |
; The "Icon" line can be removed if you don't want the icon to appear |
| 20 |
@="&Jupyter Notebook Here" |
| 21 |
"Icon"="\"PATH_TO_APP\\Menu\\jupyter.ico\"" |
| 22 |
|
| 23 |
[HKEY_CLASSES_ROOT\Directory\Background\shell\AnacondaJupyterNotebook\command] |
| 24 |
@="cmd /K \"PATH_TO_APP\\Scripts\\activate.bat\" && jupyter-notebook" |
| 25 |
|
| 26 |
; From https://github.com/NickVeld/win-registry-snippets/blob/main/AnacondaJupyterNotebookHere.reg |
| 27 |
|