Here is my .bat file to help run this. Works straight out of the box and with venv!
@echo off
REM Source https://stackoverflow.com/questions/69592796
REM Original by BeginnersMindTruly
REM Modified on 2025-11-29, License - CC BY-SA 4.0
set "PROJECT_DIR=C:\Users\bob\Dune\Jupyter Lab"
set "VENV_DIR=%PROJECT_DIR%\venv"
REM Check if Jupyter is already running on port 8888
netstat -ano | find ":8888" >nul
if %errorlevel% equ 0 (
echo Jupyter Lab is already running on port 8888
start http://localhost:8888
) else (
cd /d "%PROJECT_DIR%"
start /B "" "%VENV_DIR%\Scripts\pythonw.exe" -m jupyterlab --port=8888
)