Scripting Blog [archived]

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

How Can I Tell Whether a Computer has a Specific CD in It?

(image) Hey, Scripting Guy! How can I tell whether or not a computer has a CD named MyApps in it?-- CB(image) (image) (image) Hey, CB. You know, this is one of those questions that the Scripting Guys almost feel bad about answering. Why? Well, at first glance this sounds like it might be a really complicated problem to solve; as it turns ...

How Can I Determine Which USB Devices are Connected to a Computer?

(image) Hey, Scripting Guy! How can I determine which USB devices are connected to a computer?-- WM(image) (image) (image) Hey, WM. If you watch a lot of TV - um, not that the Scripting Guys do; we spend our spare time reading the works of Shakespeare, solving differential equations, and otherwise tending to our many intellectual pursuits...

How Can I Tell if a Computer Has a DVD Drive Installed?

(image) Hey, Scripting Guy! How can I tell if a computer has a DVD drive installed?-- GC(image) (image) (image) Hey, GC. No doubt you’re hoping we’ll say something like, “Why, you just use the Win32_DVD class, of course.” Unfortunately, though, we can’t say that; that’s because there is no Win32_DVD class, or any class devoted to...