opcuaCOM_PY/_OLD/EXEC_INIT.bat
Eduard Gerlitz 27734995b6 v2.0
2025-09-05 10:01:01 +02:00

16 lines
339 B
Batchfile

@echo off
setlocal
:: ---------- USER DEFINE --------------
set "venvName=opcua_com"
set "scriptPath=RUN_BTN.py"
set "arg=-n INIT"
:: -------------------------------------
:: Activate the Conda environment and execute the Python script
call conda activate %venvName%
python "%scriptPath%" %arg%
:: Pause at the end of the script
#pause