1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 18:33:45 +01:00
nagios-plugins/nsclient/install.bat

17 lines
475 B
Batchfile
Raw Normal View History

2010-10-25 17:59:14 +02:00
@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 --------------"
2010-10-25 18:09:44 +02:00
echo "Remember to notepad %ProgramFiles%\NSclient++\check_eva.ini before completing install"
pause
Net Start NSClientpp