Scripting Blog [archived]

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

How Can I Write to the Comments Field of a Document?

(image) Hey, Scripting Guy! Can I add text to the Comments field of a file using a script?-- EF(image) (image) (image) Hey, EF. For those of you who aren’t sure what EF is referring to, right-click a document in Windows Explorer and then click Properties. In the dialog box that appears, click on the Summary tab. See the text box labeled ...

Why Doesn't My LIKE Query Work on Windows 2000?

(image) Hey, Scripting Guy! I’m trying to use a LIKE query in my WMI scripts. The query works fine on Windows XP computers, but I can’t get it work on Windows 2000 computers. Do you know what I’m doing wrong?-- GS(image) (image) (image) Hey, GS. Actually you’re not doing anything wrong. You’re using a script similar to this, which ...