#---------- USER DEFINE -------------- $venvName = "dmu50_wingui" $scriptPath = "./MAIN.py" #------------------------------------- # Activate the Conda environment and execute the Python script cmd.exe /c "conda activate $venvName && python $scriptPath" # Pause at the end of the script # Read-Host -Prompt "Press Enter to exit"