Saved Bookmarks
| 1. |
Solve : Ooops... I closed it. How do I prevent accidental closure of DOS programs?? |
|
Answer» Hi! I have a RELATIVELY simple .BAT file which calls up a simple command-shell '.exe' program. Is there any code that I can add to my .BAT file that would display "ARE YOU SURE YOU WANT TO EXIT THIS PROGRAM?" in case I accidentally hit the "X" in the top right window (that is, accidentally CLOSING the command-shell window). |
|