Description
I want to run Jupyter Lab.exe, but point the working folder of Jupyter to a predefined folder where all my existing notebooks are located. Changing JUPYTER_DATA_DIR
from winpython.ini seems to have no impact at all. Neither does WINPYWORKDIR
.
The only thing that kind of worked was to add WINPYWORKDIR1
(note 1
at the end) as winjupyter_lab.bat points to that
@echo off
call "%~dp0env_for_icons.bat" %*
cd/D "%WINPYWORKDIR1%"
"%WINPYDIR%\scripts\jupyter-lab.exe" %*
Unfortunately, this creates some files in the defined path that I don't want there.
Looking at the script files, it seems to me that JUPYTER_DATA_DIR
in env.bat and WinPython_PS_Prompt.ps1 is overwritten by %%HOME%%%
, but commenting it out didn't change anything.
The only things that works at the moment are:
- how to run notebook from any folder on computer #848 (comment)
- how to run notebook from any folder on computer #848 (comment)
My question: are the variables in winpython.ini meant to solve my task, or do I misunderstand the concept of winpython.ini?
Version I test with: 3.11.6