Files
Bubberstation/tgui/reload.bat
AnturK 982b225c6b Fixes tgui reload script (#34632)
* Fixes reload bat

* That's possible
2018-01-20 23:04:37 -05:00

8 lines
343 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 to tmp subdirectories
FOR /D %%G in ("%DocumentsFolder%\BYOND\cache\tmp*") DO (cmd /c copy assets\* %%G /y)