User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Windows NT / 2000 / XP / 2003 section within the Tech Talk category of DaniWeb, a massive community of 426,187 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,822 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Windows NT / 2000 / XP / 2003 advertiser: Programming Forums
Views: 1599 | Replies: 5
Reply
Join Date: Apr 2007
Posts: 6
Reputation: abhishekshete is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
abhishekshete abhishekshete is offline Offline
Newbie Poster

Help How can i capture a crash while running a batch file?

  #1  
Apr 27th, 2007
Hi All,
While running a batch file. If ever any program crashes. A windows error message prompts and stops the process until the OK button is not clicked. Is there any way where I can capture the crashes without stopping the running process or I can put in some more commands in the batch file which will do the job for me.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 115
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: How can i capture a crash while running a batch file?

  #2  
Apr 27th, 2007
Batch script has an ON ERROR function to redirect batch execution to a section designed to handle errors.

If an error occurs, the program with the error can not keep running.
Last edited by MidiMagic : Apr 27th, 2007 at 5:52 pm.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Apr 2007
Posts: 6
Reputation: abhishekshete is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
abhishekshete abhishekshete is offline Offline
Newbie Poster

Help Re: How can i capture a crash while running a batch file?

  #3  
Apr 29th, 2007
Hey can u give me some more details. CLEARCUT IDEA with all the commands.Or u give me the link from where i can read it out.
Thanks in advance.
Reply With Quote  
Join Date: Apr 2007
Posts: 6
Reputation: abhishekshete is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
abhishekshete abhishekshete is offline Offline
Newbie Poster

Help Re: How can i capture a crash while running a batch file?

  #4  
Apr 29th, 2007
And I am talking abt BATCH FILES USING DOS COMMANDS running on WINDOWS 2000 machine.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 115
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: How can i capture a crash while running a batch file?

  #5  
May 1st, 2007
Somehow I have let all of my my MS-DOS books get away from me. I can't find any of them.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Apr 2007
Posts: 6
Reputation: abhishekshete is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
abhishekshete abhishekshete is offline Offline
Newbie Poster

Question Re: How can i capture a crash while running a batch file?

  #6  
May 2nd, 2007
How can i suppress a user prompt while running a batch file in windows 2000 machine?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Windows NT / 2000 / XP / 2003 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Windows NT / 2000 / XP / 2003 Forum

All times are GMT -4. The time now is 6:43 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC