1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 10:03:45 +01:00
nagios-plugins/nsclient/install.bat
Páll Guðjón Sigurðsson 9f4b8432dc
2010-10-25 16:09:44 +00:00

17 lines
475 B
Batchfile

@echo off
net stop NSClientpp
xcopy "%ProgramFiles%\NSclient++\*.ini" "%ProgramFiles%\NSclient++\backup\" /i /h /y
xcopy .\trunk\*.* "%ProgramFiles%\NSclient++\" /e /i /h /y
"%ProgramFiles%\NSclient++\nsclient++.exe" -uninstall
"%ProgramFiles%\NSclient++\nsclient++.exe" -install
echo "-------- INSTALL COMPLETED --------------"
echo "Remember to notepad %ProgramFiles%\NSclient++\check_eva.ini before completing install"
pause
Net Start NSClientpp