I was wondering if there was a script out there where I can automate the ipconfig /flushdns and then /release the IP commands when I shutdown my system.
Anybody know where to look? Thanks.
Make a batchfile with the necessary commands. That's IPCONFIG with the right parameters, followed by a RUNDLL32 for a programmatic shutdown. Then add a shortcut to that batchfile somewhere (Start>Programs, Desktop, Quick Launch, whatever you prefer) and use that.
It won't work for a shutdown via ALT-F4 or when done by Windows itself, for example if you answer "restart now" to a Windows update prompt. It won't even work with Start>Shutdown.
So some user discipline is necessary.
Kees
...the the shutdown process? When I go to Start - Turn Off Computer - Turn Off and a script runs doing this as part of the shutdown process?
I didn't see such a feature in XP. But you could use YOUR script to do all this and shutdown when done.
Bob
...to find out how to do this?
Told you that it would be a batch or script file. YOU create it. YOU own it. YOU make it do what you want.
The skills are not hard to acquire, there is far too many web sites about this so to avoid duplicating the web I'll offer one piece of the puzzle you'll need. The 2 lines you need to tinker with.
IPCONFIG /RELEASE_ALL
SHUTDOWN
Now it's all of 2 lines for you to fix or make work. The SHUTDOWN.EXE is found with google and the IPCONFIG syntax is not hard so why not get it done?
Bob
Jesus, do you really have to be this rude? Go lay off the coffee or something. All I asked was a simple question.
If you don't want to be of any help, then don't bother. Sheesh...
/;^/
Handing you the answer is now considered rude. I wish you the best of luck as you are given solutions.
Bob
| Forum legend: | |
| Locked thread | |
| Moderator | |
![]() |
CNET staff |
![]() |
Samsung staff |
| Norton Authorized Support team | |
| AVG staff | |
| Windows Outreach team | |
![]() |
Dell staff |
| Intel staff | |