Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Why shutdown?

by schwern (Scribe)
on Sep 27, 2005 at 00:23 UTC ( #495236=note: print w/replies, xml ) Need Help??


in reply to Using Perl to shutdown windows

Why not just let the computer go to sleep? If you turn off the movie looping it should go into power save mode and effectively be "off" for the purposes of consuming electricity.

If you really want to shut down, maybe Win32::Shutdown will help? Win32::Process (part of libwin32) might help with identifying and closing your Windows Media Player process.