How to Disable Ctrl-C /Ctrl-S While Running a Batch File
Posted
by user33852
on Server Fault
See other posts from Server Fault
or by user33852
Published on 2010-02-04T18:32:30Z
Indexed on
2010/03/24
9:03 UTC
Read the original article
Hit count: 561
batch-file
|Windows
By default, batch files can be terminated when the user presses Ctrl-C and can be paused by pressing Ctrl-S. Is there a way to disable this? The MS-DOS BREAK command apparently used to do this, but it is now ignored in Windows. I need something that works in WinNT 4.0 and Win2K.
© Server Fault or respective owner