- @echo off
- rem This batch file (re)installs the CoolTrayService, then starts it.
- rem Change this path:
- set SERVICEPATH=C:TroelsDelphiTrayIconTestCoolService
- %SERVICEPATH%CoolService.exe /uninstall /silent
- %SERVICEPATH%CoolService.exe /install /silent
- net start CoolTrayService
- rem Start the Service Manager
- rem %SystemRoot%system32services.msc /s