Control Panel access through VBScript.

Using the information at this page about running Control Panel applets from the command prompt, I made a series of small VB scripts to make it easier to access them from my favorite file manager. This first script runs the Add/Remove Programs applet.

Set objShell = CreateObject(“Wscript.Shell”)
objShell.Run(“control appwiz.cpl”), 1, TRUE

And this one brings up your System properties window.

Set objShell = CreateObject(“Wscript.Shell”)
objShell.Run(“control sysdm.cpl”), 1, TRUE

Simple.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s