Jump to content

CMD to autoit


Recommended Posts

  • Moderators

@Einstein197 search function broken? A simple forum search of netsh shows several hundred threads on the subject.

"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!

Link to comment
Share on other sites

  • Moderators

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Moderators

Ok, but that is the command you led the OP with. So what you're really saying is that you want to turn off broadcast with netsh and don't know how.

"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!

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

×
×
  • Create New...