[MIRROR] Makes TGUI's reload.bat account for spaces in username (#3991)

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

* Makes TGUI's reload.bat account for spaces in username
This commit is contained in:
CitadelStationBot
2017-11-17 21:03:08 -06:00
committed by kevinz000
parent ade73101d7
commit a1096e9724

View File

@@ -3,7 +3,7 @@ REM Get the documents folder from the registry.
for /f "tokens=3* delims= " %%a in ( for /f "tokens=3* delims= " %%a in (
'reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal"' 'reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal"'
) do ( ) do (
set documents=%%a set documents=%%a %%b
) )
REM Copy assets to the BYOND cache REM Copy assets to the BYOND cache
cmd /c copy assets\* "%documents%\BYOND\cache" /y cmd /c copy assets\* "%documents%\BYOND\cache" /y