I would take a look at SHUTDOWN.COM If I am not mistaken, it calls OPCRASH.EXE at the very end. If you can find this, you would "write sys$output <your message here>" just before.