Pastebin

Paste #3614: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

@echo off
goto check_Permissions

:check_Permissions
    echo Administrative permissions required. Detecting permissions...

    net session >nul 2>&1
    if %errorLevel% == 0 (
        echo Success: Administrative permissions confirmed.

    ) else (
        echo Failure: Current permissions inadequate.
        echo Press any key to exit.
        pause >nul
        exit
    )

    pause >nul

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.