Computing.Net > Forums > Programming > Batch File - Ctrl-Break

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch File - Ctrl-Break

Reply to Message Icon

Name: shahramsh
Date: February 11, 2006 at 05:36:10 Pacific
OS: XP pro Sp2
CPU/Ram: p4 3.2 gh
Product: asus
Comment:

Does anybody know a way to catch the breaks in a batch file,
for instnace if someone presses Ctrl-c then a series of commands can be executed, eg. clearing the environmental variables or giving another menu to the user.

I don't want to turn it off, but just redirecting it.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch File - Ctrl-Break

Disable CTRL C in batch file? www.computing.net/answers/programming/disable-ctrl-c-in-batch-file/14620.html

Batch File Beep / task kill www.computing.net/answers/programming/batch-file-beep-task-kill/14774.html

Batch File Looping Escape: www.computing.net/answers/programming/batch-file-looping-escape/15452.html