@echo off @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. echo change to path: %cd% @REM set MQhost=localhost set MQhost=47.92.33.19 set MQuser=chai set MQpassword=password123 set QUEUEname=aerial_rpc set DEVICEname=bunker0.block0.device0 set SERVERhost=http://192.168.1.224/api set MICROWAVEhost=localhost set LOGfile=ClientTEST.log @REM Launch the Client echo the log file will be saved in the [%LOGfile%] file echo Client.py is running ... @REM -------- Usage: Client.py [MQhost] [MQuser] [MQpassword] [QUEUEname] [DEVICEname] [SERVERhost] [MICROWAVEhost] @REM %aerialpython% ./src/Client.py %MQhost% %MQuser% %MQpassword% %QUEUEname% %DEVICEname% %SERVERhost% %MICROWAVEhost% >> %LOGfile% python ./scripts/mqClient.py %MQhost% %MQuser% %MQpassword% %DEVICEname% %MICROWAVEhost% echo Client.py has been terminited. pause