Files
kiwistation/tgui/reload.bat
T
MoreRobustThanYou 088bf4aa6c Make reload.bat work
it didn't work, so I copy pasted a stack overflow thing and made it work
2018-01-06 13:30:03 -05:00

9 lines
318 B
Batchfile

@echo off
REM Get the documents folder from the registry.
@echo off
for /f "tokens=3*" %%p in ('REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal') do (
set DocumentsFolder=%%p
)
REM Copy assets to the BYOND cache
cmd /c copy assets\* "%DocumentsFolder%\BYOND\cache" /y