I was able to use the Runtime.exec("winipcfg /releaseall");
which does release my ip, however this brings up the winipcfg screen and when I try to call the
Runtime.exec("winipcfg /renewall");
it has no affect because the release all screen is active.
This is because you are using the GUI version of the command. You need to use the command line version. I don't know exactly what this is on Win98, but it may be like "ipconfig /release" (that's the Win2000 version -- on Win98 it may be "ipcfg" or something). Try it at the command line, and you'll see what I mean.
PCS
[ November 25, 2002: Message edited by: Philip Shanks ]
Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!