How to change Jupyter notebook start up folder

Hi there,

I would like to change the Jupyter notebook startup folder from “C:.…” to “E:.…”.

I have followed this very detailled explanation. And I have seen, that there is a similar question here.

However, this method does not work in my case. I’ve done the following:

  • Listenelement in Terminal: jupyter notebook –-generate-config
  • Listenelement open jupyter_notebook_config.py in text editor
  • Listenelement change c.NotebookApp.notebook_dir = ‘C:\Users\username\Desktop\myfolder’ (since E:.… not worked in a first try, I’ve tried this one as well).
  • Listenelement close Anaconda, restart computer
  • Listenelement open Jupyter: it’s still the same start folder as before.

What did I do wrong? I have also reinstalled Anaconda, but no change.


Windows 10 Pro
Anaconda Navigator 2.1.4

1 Like

dear Julia_Lange

Thank you for posting.

I’m the one who answered the first question. The reason is that if you are using MicroSoft OneDrive or google cloud, the generated “jupyter_notebook_config.py” will be migrated on the cloud server and will not be effective.

To solve that problem, “jupyter_notebook_config.py” needs to be fully synced with the remote.

How to do that is different for MicroSoft and Google, so please contact your vendor.

Regards, you.
ktsh.tanaka.2020