Windows Explored

Everyday Windows Desktop Support, Advanced Troubleshooting & Other OS Tidbits

On Error Resume Next

Posted by William Diaz on May 18, 2012


A script that doesn’t throw an error but doesn’t do what you want it to do is encountering an error. Perhaps this is a moot point but I thought it was comical because one of my co-workers couldn’t figure out why his script wasn’t working and not “erroring” until he mentioned a few minutes later that he included On Error Resume Next in the script. The lesson learned is that you should comment-out this line out until you have a fully functioning script. Afterwards, this little lesson then reminded me that at some point awhile back I meant to write a blog about commenting out On Error Resume Next until you have a full functioning script but really didn’t think I had enough to warrant a blog. Well, with this little incident, now I have a decent paragraph to put into a blog post.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: