Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1654
  • Last Modified:

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
0
geekhelp4u
Asked:
geekhelp4u
1 Solution
 
Shift-3Commented:
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now