generated from osc/skins-template
This commit is contained in:
15
hardlink-songs-folder.bat
Normal file
15
hardlink-songs-folder.bat
Normal file
@@ -0,0 +1,15 @@
|
||||
@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" "D:\git\skins\Skins" /MIR /COPYALL /SEC /B /XJ /DCOPY:T /J
|
||||
|
||||
echo Robocopy sync completed.
|
||||
pause
|
||||
Reference in New Issue
Block a user