Skip to Content
Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
book

Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide

by Ed Wilson
October 2005
Beginner to intermediate
400 pages
12h 42m
English
Microsoft Press
Content preview from Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Windows® Scripting Self-Paced Learning Guide

Microsoft® Windows® Scripting Self-Paced Learning Guide

Ed Wilson

Publisher Resources

ISBN: 0735622310Catalog PageErrata