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
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.
Summary: Is there anyway to disable CTRL C from breaking a batch file? I'm calling windump.exe via a batch file by running windump.exe -i 2 When I'm done with a capture file, and need to terminate the windu...
Summary: I need help with this batch file. I need it to Beep twice, and then kill every process that is NOT System, Network Service, and Local SErvice. I tried using filters but it doesnt work. /fi "imagename...
Summary: I was wondering if there is an easy way to break out of the below loop after every entry from the text file has been loaded and parsed. For example, say in the below example reading and displaying e...