Add a context menuJupyter Notebookturn on
In order to Jupyter working directory specified folder to the next one, every time start CMD terminal, and then activate Anaconda environment, and then start Jupyter Notebook, extremely troublesome. So did the following script to start Jupyter added to the menu, so each time you start Jupyter by little mouse on it.
Note: My Anaconda installation directoryC:\ProgramData\Anaconda3If you need to modify the path is different. If you do not need to activate the installation environment, you can put in the scriptC:\\ProgramData\\Anaconda3\\Scripts\\activate.bat &&Removed.
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT\Directory\Background\shell\Open Jupyter]
- @="在 Jupyter Notebook 中打开"
- "Icon"="C:\\ProgramData\\Anaconda3\\Menu\\jupyter.ico"
- [HKEY_CLASSES_ROOT\Directory\Background\shell\Open Jupyter\command]
- @="cmd /K C:\\ProgramData\\Anaconda3\\Scripts\\activate.bat && cd %V && jupyter notebook"
- [HKEY_CLASSES_ROOT\Directory\shell\Open Jupyter]
- @="在 Jupyter Notebook 中打开"
- "Icon"="C:\\ProgramData\\Anaconda3\\Menu\\jupyter.ico"
- [HKEY_CLASSES_ROOT\Directory\shell\Open Jupyter\command]
- @="cmd /K C:\\ProgramData\\Anaconda3\\Scripts\\activate.bat && cd %1 && jupyter notebook"