opus-nt/unset-perms.bat

11 lines
244 B
Batchfile

@echo off
setlocal
cd /d "%~dp0"
if "%isTrustedInstaller%" == "1" (
echo Do not run this script as TrustedInstaller, run it as Administrator.
pause
goto exit
)
echo Setting permissions...
icacls "%cd%" /reset /T /C /L /Q >nul
pause