Ignore Errors

All,

I am running a batch script to install and delete some out of date programs and new programs on computers at the office.

no matter if the machine has the correct software or not, I want the script to execute.  Every once in a while depending on machine configs I fill get a pop up error - that is irrelevant

Is there a quick code to add to the beginning of my batch script that will force the script to ignore all errors and continue with its thing?

Thanks
LVL 1
geekhelp4uAsked:
Who is Participating?
 
Shift-3Connect With a Mentor Commented:
There is not one catch-all command to do that in batch.  You will need to isolate the command in the script which is causing the error and then see if it supports a switch to make it run without prompting.
0
 
geekhelp4uAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.