Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Over ridding a shutdown command.

by maa (Pilgrim)
on May 13, 2004 at 13:54 UTC ( [id://353062]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://353062]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-16 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found