to shutdown a pc: use Win32; use Sys::Hostname; $host = hostname; Win32::InitiateSystemShutdown($host, "FIN", 0, 1, 0)
--- Michele Knight <[EMAIL PROTECTED]> a écrit : > Hi all, > > I am trying to use the InitateSystemShutdown > function and it lists to put in > the "MACHINE" that you are shutting down. Does > anyone know how I can get > the current machine to put in the space? > > Thanks > -Michele > > _______________________________________________ > Perl-Win32-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs