@echo off
rem autoexec.bat for DOSEMU2 + FDPP
path %DOSEMUDRV%:\dosemu
if not "%SHELLDRV%" == "" path %PATH%;%SHELLDRV%:\
if not "%FREEDOSDRV%" == "" path %PATH%;%FREEDOSDRV%:\bin;%FREEDOSDRV%:\gnu
if not "%USERDRV%" == "" set TEMP=%USERDRV%:\tmp
if "%USERDRV%" == "" echo Warning: USERDRV not set
rem first run external plugins. -E commands may depend on them.
if "%XBATDRV%" == "" goto noxbat
path %PATH%;%XBATDRV%:\
for %%b in (%XBATDRV%:\dosrc.d\*.bat) do call %%b
:noxbat
rem run dosemu2 plugins, including vars and -E commands.
for %%b in (%DOSEMUDRV%:\dosemu\dosrc.d\*.bat) do call %%b
