How to create batch file to Flash DNS

Configurare noua (How To)

Situatie

Sometime we need to flush the computer DNS record due to some changes of domain pointing. Instead of going to every computer and running the same command using command prompt, you can send the user a .bat file, and ask them double click on it.

Solutie

To create the bat file, simply open the Notepad on your computer, put in the following line

 

echo off
cls
ipconfig /flushdns
exit

 

Then select Save as, and give the file a name with ending “.bat”.

Tip solutie

Permanent

Voteaza

(6 din 13 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?