You can add "@echo off" as the first line too so you don't see the extra prompt.
I'm not sure if you know how to write a batch file, but it's literally this simple:
- open up NOTEPAD
- type in the commands (ipconfig......)
- save it with a filename ending with .BAT
...done!
Sometimes a batch file will stop working after it runs a command, such as 'ipconfig'. It's unlikely in this case, but if it does, add a "CALL" command to the beginning of the line, so it would be:
@echo off
call ipconfig /release
call ipconfig /renew
...etc
Main Topics
Browse All Topics





by: sda100Posted on 2006-04-12 at 06:31:45ID: 16435863
Hello maharlika
A batch file will wait for the last command to complete before starting the next. So, simply:
ipconfig /release
ipconfig /renew
...in your batch file should do the trick. Plain and simple!
Steve :)