I have a machine learning project in drive D. It contains python notebook files. But when I launch jupyter notebook through command prompt, it only shows directories inside drive C. How can I navigate to a drive other than C drive without changing jupyter notebook startup path?. I'm using windows 10 operating system. All the solutions I found, trying to change notebook startup path.
1. Change Jupyter Notebook startup folder (Windows) Copy the Jupyter Notebook launcher from the menu to the desktop. Right click on the new launcher and change the Target field, change %USERPROFILE% to the full path of the folder which will contain all the notebooks.
In the start menu, right click Jupyter Notebook -> Properties . In the Target field, change %USERPROFILE% to your new "D:\path" . I am using Anaconda 3 and Windows 10 and this answer is almost correct for that combo -- I used "E:/" rather than "D:\new path".
You can launch it from any drive/location you want with the --notebook-dir
option.
For example:
jupyter notebook --notebook-dir=D:/
Follow these steps:
jupyter notebook --notebook-dir=NameOfTheDrive:
.As Example for Drive D, jupyter notebook --notebook-dir=D:
To permanently change the default directory of Jupyter do the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With