I added this to xaaes.cnf setenv SDMASTER C:\EASYMINT\SHUTDOWN\SHUTDOWN.APP should it be $SDMASTER ? But I think it won't work without HOTKEYQUIT in the code. Peter