RetroArch/media/360/hd/rarch_load_game_history.bat

15 lines
295 B
Batchfile
Raw Normal View History

@echo off
for /f "tokens=* delims=" %%f in ('type rarch_main.xui') do CALL :DOREPLACE "%%f"
GOTO :EOF
:DOREPLACE
SET INPUT=%*
SET OUTPUT=%INPUT:RetroArchMain=RetroArchLoadGameHistory%
for /f "tokens=* delims=" %%g in ('ECHO %OUTPUT%') do ECHO %%~g>>rarch_load_game_history.xui
EXIT /b
:EOF