WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

How To
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Release LAN ip settings

 Keywords: ip address release all  

Question:

This maybe simple, but i need to release LAN card ip address settings ONLY for win2k/win98. i know there's a netsh utility in win2k, but then this leaves win98 out.

Any help/suggestion?

Answer:

You could start by trying something this:
If WinVersion(1) == 4 Then              ;Win95/98

   RunWait("winipcfg", "/release_all")

Else                                    ;WinNT/2K

   RunWait("ipconfig", "/release")

Endif

Run the command with /? to see all options


Article ID:   W14859
File Created: 2001:11:08:12:40:34
Last Updated: 2001:11:08:12:40:34