Creating File System Object
To talk to the file system, the script needs to make a connection to it so that it can read files and folders. The tool used with Microsoft Visual Basic Script (VBScript) is called the file system object. Once you create an instance of the file system object, you can leverage its power to perform some or all of the following tasks:
Create files and folders
Copy files and folders
Move files and folders
Delete files and folders
List properties of files and folders
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.