@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% ( call %envsetting% ) cd %~dp0 echo change to path: %cd% set MICROWAVEhost=192.168.2.65 SET PACKETthreshold=1000 SET DEVICEname=pod1 SET SAVEfolder=./Manual_Microwave @REM ---------------Usage: udp_get.py [MICROWAVEhost] [PACKETthreshold] [DEVICEname] [SAVEfolder] %aerialpython% ./src/utils/udp_get.py %MICROWAVEhost% %PACKETthreshold% %DEVICEname% %SAVEfolder% pause