Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


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