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

Reply

Join Date: Apr 2007
Posts: 6
Reputation: abhishekshete is an unknown quantity at this point 
Solved Threads: 0
abhishekshete abhishekshete is offline Offline
Newbie Poster

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

 
0
  #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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

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

 
0
  #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 6:52 pm.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 6
Reputation: abhishekshete is an unknown quantity at this point 
Solved Threads: 0
abhishekshete abhishekshete is offline Offline
Newbie Poster

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

 
0
  #3
Apr 30th, 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 Quick reply to this message  
Join Date: Apr 2007
Posts: 6
Reputation: abhishekshete is an unknown quantity at this point 
Solved Threads: 0
abhishekshete abhishekshete is offline Offline
Newbie Poster

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

 
0
  #4
Apr 30th, 2007
And I am talking abt BATCH FILES USING DOS COMMANDS running on WINDOWS 2000 machine.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

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

 
0
  #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 Quick reply to this message  
Join Date: Apr 2007
Posts: 6
Reputation: abhishekshete is an unknown quantity at this point 
Solved Threads: 0
abhishekshete abhishekshete is offline Offline
Newbie Poster

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

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

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows NT / 2000 / XP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC