Created
May 27, 2025 15:58
-
-
Save GluTbl/983f69dba1cf2782c327b5ee906af170 to your computer and use it in GitHub Desktop.
[FLush dns] #bat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
echo ======================================== | |
echo DNS Flush Utility - Windows | |
echo ======================================== | |
echo. | |
set /p userinput=Do you want to flush the DNS cache now? (y/n): | |
if /i "%userinput%"=="y" ( | |
echo. | |
echo Flushing DNS cache... | |
ipconfig /flushdns | |
echo. | |
echo DNS cache has been successfully flushed. | |
) else ( | |
echo. | |
echo DNS flush aborted by user. | |
) | |
echo. | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment