088bf4aa6c
it didn't work, so I copy pasted a stack overflow thing and made it work
9 lines
318 B
Batchfile
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
|