Makes reload.bat account for spaces in username (#32768)

This commit is contained in:
Dax Dupont
2017-11-17 13:50:48 -05:00
committed by ShizCalev
parent f46bc879fb
commit c8aab80cf9
+1 -1
View File
@@ -3,7 +3,7 @@ REM Get the documents folder from the registry.
for /f "tokens=3* delims= " %%a in (
'reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal"'
) do (
set documents=%%a
set documents=%%a %%b
)
REM Copy assets to the BYOND cache
cmd /c copy assets\* "%documents%\BYOND\cache" /y