Problem in running Batch file. Help Me plz...?
-
Hi Guys.. Am using batch files for executing a software. The Batch file contains list of different inputs for that software. The problem is 'if a error occurred in the middle of the list' then the remaining part is not executed until the problem clears. Here is the link for that batch file : http://www.mediafire.com/?og53316gchsy3ea The structure of batch file : 1. I specified location for that software.(Web Content Extractor). I mean installed location. 2. Then link for the template file created in that software(.wcepr). 3. Then a text file containing input(URLs). 4. Then output of the software is saved in XML format. The above pattern repeated for number of times with different inputs and different templates. If there is a error in a template or a URL in the list then the whole execution is stopped without executing reset of the list... Is there any way to skip the error file and execute the rest?????? Help me plz.. Waiting for ur valuable replay....
-
Answer:
Man.. that's HARD to read... Basic batching: You need to learn & use REM statements (they make batches and helping a whole lot better) I strongly suggest you learn and use variables - you've got MANY repeated lines and.. for your errors; Make each section it's own batch and run them from the main batch via CMD /C {section.batch.X} If a 'section.bat' fails, the main will keep running.
Rose at Yahoo! Answers Visit the source
Related Q & A:
- How to run an interactive batch file on windows from a service?Best solution by Stack Overflow
- How to make a batch file copy itself?Best solution by Yahoo! Answers
- Can some plz help, i want to get an 11-15 oyster photo card and i dont know how to post it?Best solution by Yahoo! Answers
- Yahoo Messenger Not Working...Plz Help Me?
- Problem with running MSN?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.