Jump to content
Sign in to follow this  
Nanaki

disabling/enabling a network connection

Recommended Posts

Nanaki

Is it possible without simulating keyboard strokes/mouse clicks?

Thanks,

Share this post


Link to post
Share on other sites
SumTingWong

Is it possible without simulating keyboard strokes/mouse clicks?

Thanks,

<{POST_SNAPBACK}>

DriveMapAdd

DriveMapDel

Edited by SumTingWong

Share this post


Link to post
Share on other sites
Nanaki

No no, I don't mean a Network Drive, I mean a Network Connection.

Thanks anyway. :whistle:

Share this post


Link to post
Share on other sites
BigDod

You could try studying the netsh command.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites
B3TA_SCR1PT3R

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]

Share this post


Link to post
Share on other sites
BigDod

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.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites
B3TA_SCR1PT3R

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

<{POST_SNAPBACK}>

BURNNNNNN

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

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  

×