1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-14 14:33:46 +01:00
nagios-plugins/nsclient/trunk/scripts/install.bat

11 lines
364 B
Batchfile
Raw Normal View History

2010-09-04 03:52:17 +02:00
@echo off
net stop NSClientpp
xcopy "%ProgramFiles%\NSclient++\*.ini" "%ProgramFiles%\NSclient++\backup\" /i /h /y
xcopy \\10.100.1.170\nagios\nsclient\%PROCESSOR_ARCHITECTURE%\*.* "%ProgramFiles%\NSclient++\" /e /i /h /y
"%ProgramFiles%\NSclient++\nsclient++.exe" -uninstall
"%ProgramFiles%\NSclient++\nsclient++.exe" -install
Net Start NSClientpp