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.

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

echo off
ipconfig /flushdns

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