Jump to content

disabling/enabling a network connection


 Share

Recommended Posts

You could try studying the netsh command.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Is it possible without simulating keyboard strokes/mouse clicks?

Thanks,

<{POST_SNAPBACK}>

uh

#include <Process.au3>
_RunDOS("ipconfig /release");disable
_RunDOS("ipconfig /renew");enable

dont know if thats wat u want but itll get the job done :whistle:

[right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]

Link to comment
Share on other sites

uh

#include <Process.au3>
_RunDOS("ipconfig /release");disable
_RunDOS("ipconfig /renew");enable

dont know if thats wat u want but itll get the job done :whistle:

<{POST_SNAPBACK}>

The only problem with this is that a lot of systems will automatically renew the ip address if it is released.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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...