Files
GS13NG/tgui/reload.bat
CitadelStationBot a1096e9724 [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
2017-11-17 19:03:08 -08:00

10 lines
330 B
Batchfile

@echo off
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 %%b
)
REM Copy assets to the BYOND cache
cmd /c copy assets\* "%documents%\BYOND\cache" /y