Chapter 11: Using Operating System Classes 229
objItem.put_
WScript.Echo "the new size is now:"&objItem.initialsize
Using the Multimedia Audiovisual Class
One class is in the multimedia audiovisual category: the Win32_CodecFile class is used to
describe various codecs that are located on a computer running the Windows operating sys-
tem. Win32_CodecFile is derived from Win32_DataFile and, as a result, inherits 14 methods.
Unfortunately, these methods have very little to do with installed codecs on your computer
because they are methods that enable you to work with file system objects in a generic fash-
ion. The Win32_CodecFile.vbs script (in the cimv2 folder on the companion CD) prints out
all the properties associated with a codec, for