Jupyter windows shortcut corrupt by default
The cleanest way I found to change the default working directory is to edit the cwp.py file in the Anaconda folder as following (at the end of the file):
Replace this line:
os.chdir(documents_folder)
with the folder you want to start in:
os.chdir("C:\\Private_Files\\MachineLearning")
I was able to remake the shortcut by pointing the shortcut to:
C:\Users\user01\AppData\Local\Continuum\Anaconda3\Scripts\jupyter-notebook.exe
I lost the icon but I'm sure with some searching I can find it again.
In Environment variables create System variable Anaconda3 (or other name) with the value:
C:/Users/user01/AppData/Local/Continuum/Anaconda3
Then substitute first 3 entries of:
C:/Users/user01/AppData/Local/Continuum/Anaconda3
in Shortcut -> Target with %Anaconda3%
. This will make the target line length < 255
.