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

Microsoft® Windows® Scripting Self-Paced Learning Guide

by Ed Wilson
April 2004
Beginner
416 pages
11h 3m
English
Microsoft Press
Content preview from Microsoft® Windows® Scripting Self-Paced Learning Guide

Quiz Yourself

Q.

To prevent errors when either creating or deleting folders, what should you do prior to executing the command?

A.

You should always check for the existence of the folder prior to trying to either delete or create the folder. To do this, use the FolderExists command inside an If...Then...Else construction.

Q.

What is used to bind to a folder?

A.

To bind to a folder, you use the GetFolder method.

Q.

Why do you need to bind to a folder?

A.

You must bind to a folder because folders are COM objects, and prior to accessing the properties of the folder, you need an object reference. Creating this reference is called binding.

Q.

What command is used to create a folder?

A.

The CreateFolder command is used to create a folder.

Q.

What command is used to ...

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® 2000 Scripting Guide

Microsoft® Windows® 2000 Scripting Guide

Microsoft Corporation
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 9780735619814Supplemental ContentCatalog PageErrata