jupyter lab file location
There are two ways to do even though they have only very small difference. Follow the way marneylc suggested above: i.e.
1) Open "Anaconda Prompt" and type jupyter notebook --generate-config
2) You find the file in C:Usersusername.jupyterjupyter_notebook_config.py
3) Change the line of #c.NotebookApp.notebook_dir = '' to c.NotebookApp.notebook_dir = 'c:testyour_root'
4) Then, go to the shortcut of Jupyter Notebook located in C:UsersUser_nameAppDataRoamingMicrosoftWindowsStart MenuProgramsAnaconda3 (64-bit)
5) Do the right click and go to the Properties
6) In the Target field, remove %USERPROFILE% as stenlytw suggested above.
7) Then, In the field of Start in, type the same directory of c:testyour_root in jupyter_notebook_config.py
8) Done!
As the simpler way, after step 3, go to C:UsersUser_nameAnaconda3Scripts
4-2) You can see the file of jupyter-notebook.exe and click it.
5-2) Then, the Jupyter start the folder you specified in jupyter_notebook_config.py. So make the shortcut of this file.
6-2) Done.