@echo OFF set FILE_PATH=%1 REM Add this to NppExec and change PR_NAME to the the project name for each virtual environment. :: npp_save :: cd "$(CURRENT_DIRECTORY)" :: cmd /c "C:\Users\J2897\Code\Batch\NPP_VENV.bat" $(FULL_CURRENT_PATH) PR_NAME call C:\Users\J2897\Code\Python\%2\venv\Scripts\activate.bat python %FILE_PATH% deactivate
Comments
0 B
|👍
/👎