Showing results for files - Scripting Blog [archived]

Oct 1, 2004
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Can I add text to the Comments field of a file using a script?-- EF 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 Comments? That’s the field EF would lik...

Scripting Guy!VBScriptstorage
Sep 13, 2004
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

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 Hey, GS. Actually you’re not doing anything wrong. You’re using a script similar to this, which uses the LIKE operator to search for all the fi...

Scripting Guy!scripting techniquesVBScript
Sep 8, 2004
Post comments count0
Post likes count0

How Can I Determine the Version Number of an Executable File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine the version number of an executable file?-- TW Hey, TW. Well, that depends. If the file is located on the local computer, the easiest way is to use the FileSystemObject. Have a burning desire to know which version of Regedit.exe is installed on your computer? All it takes is two lines of code: As you can see...

Scripting Guy!VBScriptstorage