generated from osc/skins-template
16 lines
383 B
Batchfile
16 lines
383 B
Batchfile
@echo off
|
|
net session >nul 2>&1
|
|
if %errorLevel% neq 0 (
|
|
echo Requesting admin privileges...
|
|
powershell -Command "Start-Process cmd -ArgumentList '/c \"%~f0\"' -Verb RunAs"
|
|
exit /b
|
|
)
|
|
|
|
echo Running robocopy sync as Administrator...
|
|
echo.
|
|
|
|
robocopy "E:\osu!\Skins" "C:\Users\niels\neox-skins\Skins" /MIR /COPYALL /SEC /B /XJ /DCOPY:T /J
|
|
|
|
echo Robocopy sync completed.
|
|
pause
|