But they can run exe's? YOu could invoke autoit scripts from bat file, before running emu.
The best thing is doing a wrapper in Either AutoIt or AutoHotKey to doing the task, you want do doing, example like this (here using AutoHotKey, because its named that today):
Drive, Eject,, E:
Sleep, 2500
WaitUserToClose:
Sleep 100
DriveGet, status, StatusCD
if (status <> "stopped")
{ goto WaitUserToClose
}
Drive, Lock, E:
FileGetSize, size, E:\SYSTEM.CNF
if (ErrorLevel=0)
{
RunWait, C:\Emulator\PSX.EXE "%A_Index%",C:\Emulator\PSX
}
Drive, Eject,, E:
Sleep, 2500
Compile it with AutoHotKey to exe and use this as a wrapper for the emulator. Please note it might NOT work 100% and is rougly made, but you got a idea, why AutoHotKey is very effective for automation and tasks like these (where BAT is so limithed).
And of course All/Most wrappers out here seen to wrote in these applications as well.