Is anyone aware of a way to prevent users from using the "X" or close button in a DOS screen to keep them from exiting a script prematurely? I guess I also need to account for a ctrl+C, but I should be able to catch those and ignore them. If I could hide the top bar of the DOS window, that should be enough. I am not using any kind of gui manager, just
to convert the script into a .exe.