@echo off @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../../../../.env/Scripts/";%path% echo All data will be saved in '%cd%/saveUDPData/' folder python udp_test_get.py test echo =========== ALL GET DONE ================ echo Press any key to exit this windiow. pause