Sign in to follow this  
Followers 0
Stalker0

Accessing Control Panels (need help asap!)

4 posts in this topic

Hey guys, a friend of mine needs a script ASAP for work, and I'm trying to help him out.

The script requires accessing the windows firewall control panel, but I'm not sure what command to use to open up the panel.

Could someone help out a man helping out a friend?

Share this post


Link to post
Share on other sites



ShellExecute("C:\WINDOWS\system32\firewall.cpl")

Share this post


Link to post
Share on other sites

when I ran that, I got an error saying "No application is associated with the specified file for this operation."

Share this post


Link to post
Share on other sites

when I ran that, I got an error saying "No application is associated with the specified file for this operation."

You must have XP SP2 at least to have firewall.cpl.

Assuming you have you could also try this

Local $RUNDLL32 = @SystemDir & "\rundll32.exe"
Run($RUNDLL32 & " shell32.dll,Control_RunDLL firewall.cpl")

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0