cd \cygwin\apcupsd\bin apcupsd.exe /install