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% …

Batch administrator privileges Read more »

Tagged with: , , ,