Jump to content

Make executable or script with netsh command and xml file


Recommended Posts

Okay guys here's the thing

I exported a wireless connection profile (including SSID, encryption type, password etc.) in windows vista using Netsh wlan export profile name=[ProfileName] Folder=[Folder Path] then I import the profile to another computer using netsh wlan add profile filename=[locationoffilename.xml]" and it works great i get an IP address and eveything is well.

Now in order to import the profile to other computers I must run the "netsh wlan add profile filename=[locationoffilename.xml]"

I'm wondering if anyone can help me to script or make an executable file to import the wireless connection profile on other computers instead of going to command prompt and typing the entire netsh command to import the profile. Basically, I just want to double click one file to complete the process.

How can I do that with AutoIt?

I hope this isnt too long and confusing.

Thanks guys

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...