Login | |
|
 |
RE: Check if a Registry key exists - 5/27/2008 6:17:59 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1170
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
What I meant was that I feel about WMI like you do about On Error Resume Next. I don't like it, and use it only when there is no other recourse.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Check if a Registry key exists - 5/27/2008 5:00:21 PM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1170
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
It isn't something that I spend time in the morning planning ways to utilize during my work day, but if the need for it arises, i see no problems with it. And as limited as the error handling is in vbs, it comes in handy.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Check if a Registry key exists - 5/31/2008 10:25:47 PM
|
|
 |
|
| |
Fredledingue
Posts: 367
Score: 0
Joined: 5/9/2005
From:
Status: offline
|
I'm not a fan of it neither. The goal is to put as little code as possible between on error resume next and on error goto 0 so you stil can debug your script.
_____________________________
Fred
|
|
| |
|
|
|
|
|