@echo off @REM change to the filepath cd %~dp0 echo change to path: %cd% set aerialpython=%cd%/../../../env/aerial_deploy/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( %envsetting% ) echo All data will be saved in '%cd%/saveUDPData/' folder %aerialpython% udp_test_get.py test echo =========== ALL GET DONE ================ echo Press any key to exit this windiow. pause