To get Anaconda Jupyter Notebook to show the folders in my D:\
drive when it launched, this is what I did:
open Anaconda command prompt (use the Anaconda menu and select Anaconda terminal)
- OR launch Anaconda terminal directly from folder (Win 10), in similar location to:
C:\Users\grant\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Anaconda3 (64-bit)\
this will show a command prompt similar to:
(base) C:\Users\grant>
change directory to D drive (i.e. the drive\folder you want to see when notebook launches):
(base) C:\Users\grant>D:
launch Jupyter notebook:
(base) D:\>jupyter notebook
For DIFFERENT ENVIRONMENTS do the following:
Assume you wanted to launch jupyter notebook with the R environment - where the notebook references the folders in drive D (as above):
open anaconda terminal and change to D drive (as above)
(base) C:\Users\grant>d:
view the environemnts that are available (and their paths):
(base) D:\>conda env list
# conda environments:
#
base * C:\Users\grant\Anaconda3
R C:\Users\grant\Anaconda3\envs\R
rstudio C:\Users\grant\Anaconda3\envs\rstudio
activate the required R environment
(base) D:\>activate C:\Users\grant\Anaconda3\envs\R
launch jupyter notebook showing the required drive folders (with the required R environment activated):
(R) D:\>jupyter notebook