in reply to Over ridding a shutdown command.

shutdown.exe /A

You didn't tell us what O/S you're using so I have assumed it's Windows. The shutdown exe is in the NTReskit so I assume it's available in the other Reskits, too...

I also assume that you can do it using the Win32 API but I don't know how off-hand.

Win32::AbortSystemShutdown(MACHINE) [EXT] Aborts a system shutdown (started by the InitiateSystemShutdown function) on the specified MACHINE.
perldoc -f Win32

Replies are listed 'Best First'.
Re: Re: Over ridding a shutdown command.
by blackadder (Hermit) on May 13, 2004 at 15:13 UTC
    THANKS,...both worked...and it was very easy.

    I need to retain my confidence with my PERL skills....LOL

    Blackadder
Re: Re: Over ridding a shutdown command.
by blackadder (Hermit) on May 13, 2004 at 13:58 UTC
    Very Sorry, the desk Top OS is Windows XP

    Cheers