Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Can I Create and Delete a DSN Using a Script?

(image) Hey, Scripting Guy! Is it possible to create an ODBC Data Sources Name (DSN) on the fly and then remove it when done?-- KC(image) (image) (image) Hey, KC. Is it possible to create and then delete an ODBC DSN? To tell you the truth, we weren’t entirely sure. As it turns out, however the answer is this: as long as you’re willing ...

Registry Script Doesn't Work

(image) Hey, Scripting Guy! I tried writing a script to read data from the registry, but I keep getting this error: (image)   Do you have any idea what's wrong? I'm running Windows XP Professional, Service Pack 1, and this is the code I'm using: -- LW, Omaha, NE(image) (image) (image) Hey, LW. The error you are getting (80041010) means...