MIAMEX,130 now supports an optional argument to return the name of the A-Shell executable:
xcall MIAMEX, MX_ASHFILE, startcmd$ {,ashfile$ {,ashexe$}}
Example formats for ASHEXE$:
c:\vm\miame\bin\ashw32.exe (WINDOWS)
/vm/miame/bin/ashell (UNIX)
ashell (ashell launched with no path)