Quiz Yourself

Q.

What are the three ways to write to a file?

A.

You can write to a file using the Write, WriteLine, and WriteBlankLines methods.

Q.

What is the difference between Write and WriteLine?

A.

The difference between Write and WriteLine is that WriteLine includes a line termination.

Q.

When using <FSO>, what is a method available for checking the existence of a file?

A.

To check for the existence of a file, you need to use the FileExists method.

Q.

File attributes are stored in what type of a configuration?

A.

File attributes are stored in a bitmask type of construction.

Q.

What effect does the storage mechanism used by file attributes have on your ability to successfully query the attributes?

A.

Because the file attributes are stored in a bitmask type ...

Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.