How to keep a user from using ctrl-c tobreaking a batch run?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Pikake
Posts: 1
Joined: 18 Jan 2012 13:51

How to keep a user from using ctrl-c tobreaking a batch run?

#1 Post by Pikake » 18 Jan 2012 14:02

I'm having to use a DOS batch program to perform my will on a scanner (or a mobile device) here at work.

It's been a long time since I've done any batch programming (and wow it was fun relearning this again), I remember there was a way to prevent a user from pressing ctrl-c or ctrl-break to end the execution of hte batch run prematurely. How do you go about doing that? I've googled for this answer and I cannot seem to find the answer.

Any help is appreciated.

aGerman
Expert
Posts: 4740
Joined: 22 Jan 2010 18:01
Location: Germany

Re: How to keep a user from using ctrl-c tobreaking a batch

#2 Post by aGerman » 18 Jan 2012 14:25

No way (thank goodness).

Regards
aGerman

Post Reply