From: Bert Hyman on
In news:Xns9DBA693F5CFEBVeebleFetzer(a)216.250.188.141 Bert Hyman
<bert(a)iphouse.com> wrote:

> Maybe the UPS utilities or whatever set some sort of environment
> variable or leave a file around that can be tested in the BAT file I'd
> use to shut down the other machine so that it only performs the remote
> shutdown on a power failure.

Even easier; the function I'm looking for is apparently built in to Windows
XP.

In Control Panel->Power Options, UPS tab, I selected an arbitrary UPS and
in the "Configure..." dialog and found that there's a field for selecting a
program to run when the "Critial alarm" state is reached. So, I just call
the BAT file to shut down the other machine from there.

--
Bert Hyman St. Paul, MN bert(a)iphouse.com