Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 708 Bytes

File metadata and controls

34 lines (26 loc) · 708 Bytes

If you want to contribute you MUST follow this example below

Must sign off on all projects

CODE OF CONDUCT

COD_OF_CONDUCT

Thanks

  • Bubbles The Dev
@echo off

REM Check for administrative privileges  
openfiles >nul
if '%errorlevel%' NEQ '0' (
    echo "MUST- PROVIDE THE ADMINISTRATIVE PRIVILEGES and a message to go with it"
    echo Please right-click this file and select "Run as administrator".
    echo "ADD A CUSTOM MESSAGE"
    timeout 5 >nul
    exit /b
)

echo.
echo "ADD A CUSTOM MESSAGE"
ipconfig /flushdns >nul

echo.
echo "ADD A CUSTOM MESSAGE"
echo "ADD A CUSTOM MESSAGE"
echo.
pause