> -----Original Message----- > From: Kevin Safford [mailto:saffords@uk.ibm.com] > Sent: Monday, August 03, 2009 04:37 > To: beginners@perl.org > Subject: Re: Automating the resetting of Power Options > > "Wagner, David --- Senior Programmer Analyst --- CFS" wrote: > > So does anyone have a Perl script/module that will allow me to reset > > the Power options automatically? I would perfer to be abel to set > > what I want it to be, so it can be done automatically without my > > intervention ( I can handle finding an existing script that can call > > the Perl, but I have no idea where to start ). > > I don't know how you'd do it in Perl. Have you tried > C:\WINDOWS\system32\powercfg.exe in a batch file? > I did not from a batch program, but executed it manually and it shows a dialog box which is not really what I am after. I want to be able to set and forget about it, knowing that if I do a restart, it will handle getting ti set to what I need. I appreciate the response.. If you have any questions and/or problems, please let me know. Thanks. Wags ;) David R. Wagner Senior Programmer Analyst FedEx Freight Systems 1.719.484.2097 Tel 1.719.484.2419 Fax 1.408.623.5963 Cell http://fedex.com/us > -- > Kevin Safford > > > > -- > To unsubscribe, e-mail: beginners-unsubscribe@perl.org > For additional commands, e-mail: beginners-help@perl.org > http://learn.perl.org/ > > >Thread Previous