Jump to content

Recommended Posts

Posted

In command prompt I use

 

netsh wlan set hostednetwork mode=allow ssid=NETWORKNAME key=PASSWORD

 

How do I do that in autoit  also I want to hide the network ie turn off broadcast


 
  • Moderators
Posted

Why do an AutoIt script to run CMD line code when you can just use Run or ShellExecute and do it in AutoIt directly?

ShellExecute("netsh.exe", "wlan set hostednetwork mode=allow ssid=mynetworkname key=password")

works just fine

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

Not sure if I'm on the same page, are referring to hiding the routers ssid so it can't be seen?  Normally you can hide the ssid via your router settings.

Posted
12 minutes ago, JLogan3o13 said:

Why do an AutoIt script to run CMD line code when you can just use Run or ShellExecute and do it in AutoIt directly?

ShellExecute("netsh.exe", "wlan set hostednetwork mode=allow ssid=mynetworkname key=password")

works just fine

I have a different command that works with CMD bt I want to do it with autoit and turn off the broadcast

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
×
×
  • Create New...