Jump to content
Sign in to follow this  
Guest Aramis

1)DOS box 2)Icon change

Recommended Posts

Guest Aramis


I wrote a small script (compiled) that uses the IPConfig utility. All it does is either release or renew the IP.

1) I use RunWait(@ComSpec & " /c ipconfig /xxxx ") which displays that ugly black DOS box for a few seconds. Is there a way to avoid that box showing?

2) I'd like to show 2 different icons, that is one when I have a local IP and the other when I am connected to the Web. I could not find a way to script the icon change (but of course I am still an AutoIT newbie)

TIA for any help or pointers.


Share this post

Link to post
Share on other sites

1) RunWait(@ComSpec & " /c ipconfig /xxxx ", "", @SW_HIDE)

2) I would assume that could be done?

3) Please post in support forum next time for help.


Edited by MHz

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