在cmd中输入jupyter notebook --generate-config,生成的配置文件位于C:\Users\你的用户名\.jupyter打开该配置文件,找到#c.NotebookApp.notebook_dir = ''行删除“#”后,在单引号内填入你想要Jupyter打开的默认路径重启Jupyter