@echo off
cls
if exist %1.bin goto cont
goto fail1
:cont
if not exist %1.bin goto fail2
copy %1*.* ..\%1*.* > nul
cd ..
bk11_eml %1.bin /b /v %2
del %1*.*
cd bin
goto end
:fail1
echo This simple .BAT file is used to execute desired BIN file immediately.
echo To do this, run this BAT file followed by game file name, for example:
echo.
echo _run GAMENAME
echo.
echo Substitute GAMENAME with approppriate name of your program, i.e.
echo.
echo _run FLASSE
echo.
echo If game consist of several files (e.g. PEREVAL.BIN & PEREVAL.GMS),
echo _run file with BIN exenstion (usually this is loader). All game data
echo files will be copied to emulator directory and loaded automatically for
echo YOU.
echo.
goto end
:fail2
echo File not found !!!
:end
