%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit

taskkill /F /IM AdapterSvrS0.exe /T
taskkill /F /IM RMServer.exe /T
taskkill /F /IM RMServerLogClient.exe /T
taskkill /F /IM RMUploadTool.exe /T


cd /d %~dp0
start /realtime ./Server/RMServer.exe
timeout /nobreak /t 3
start /realtime ./AdapterSvr/AdapterSvrS0.exe
start ./RMServerLogClient/RMServerLogClient.exe
exit