Batch administrator privileges

Most of the time CMD command request Administrator privileges to run. Lets make a batch auto check if┬áhave admin privileges @echo off goto check_Permissions :check_Permissions echo. echo ADMINISTRATOR LEVEL REQUESTED. CHECKING PERMISSIONS … echo. net session >nul 2>&1 if %errorLevel% == 0 ( echo Success: ADMINISTRATION LEVEL PERMISSION CONFIRMED echo. cls ) else ( echo … Read more