Powercfg Cpl VBScript
Version: 14.1 [Final]
Revision: 12 Build 18
Powercfg Cpl VBScript
Introduction: I made this script for user to access their power management settings.
This is useful if you don’t have any 3rd party software to manage your computer’s / notebook’s power supply.
This Script can also be useful if you’re in an airport!
1.] Download notepad++ from the original author or from a mirror and install the software.
——————————-
http://sourceforge.net/projects/notepad-plus/
http://filehippo.com/download_notepad/
——————————-
2.] Copy this code into your notepad…
—Copy Source Code—
'Version: 32.4 [Final]
'Revision: 38 Build 11
'Author: lair360
'This script will execute the
'Power Management properties - control planel.
'------------------------------------------------------
On Error Resume Next 'This line will concel the error and direct to the info.
Dim objShell 'This will maintain memory usage when "WS.script.Shell" is activated.
set objshell = createobject("wscript.shell")
objshell.run("rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl")
'Results are given and the cmd command-line has exit.
WScript.Quit
'End of VBScript command
—End Source Code—
Copyright 2001-2008 Lair360
Tags: Powercfg Cpl, powercfg.cpl
?>/images/ads_logo.jpg)
