Add data refresh assets and local access scripts
This commit is contained in:
@@ -3,16 +3,9 @@ setlocal
|
||||
|
||||
net session >nul 2>&1
|
||||
if not "%errorlevel%"=="0" (
|
||||
echo This script must be run as Administrator.
|
||||
echo.
|
||||
echo 1. Open Windows Start menu.
|
||||
echo 2. Type cmd.
|
||||
echo 3. Right-click Command Prompt and choose "Run as administrator".
|
||||
echo 4. Run this command:
|
||||
echo %~f0 %*
|
||||
echo.
|
||||
pause
|
||||
exit /b 1
|
||||
echo Requesting Administrator privileges...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "Start-Process -FilePath '%~f0' -ArgumentList '%*' -Verb RunAs"
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
|
||||
set SCRIPT_DIR=%~dp0
|
||||
|
||||
Reference in New Issue
Block a user