FileSystemObject object

zhaozj2021-02-11  196

The FileSystemObject (FSO) object mode contains the objects and collections below.

Object / Collection Description FileSystemObject primary object. Contains information to create, delete, and get information, and methods and properties that are typically used to operate drives, folders, and files. Many methods associated with this object are completely similar to those in other FSO objects; they are provided for convenience. Drive object. Contains methods and properties used to collect information, this information is about the drive connected to the system, such as the shared name of the drive and how much available space it is. Please note that "Drive" is not a hard disk, or a CD-ROM drive, a RAM disk, and the like. It is not necessary to connect the driver in kind to the system; it can also be logically connected via the network. DRIVES collection. Provide a list of drives, these drives, or logically connected to the system. The DRIVES collection includes all drives, unrelated to the type. The media drive to be movable is displayed in this collection without having to insert the media into the drive. File object. Contains methods and properties used to create, delete, or move files. Also used to ask the system to ask the file name, path, and multiple other properties. Files collection. Provides a list of all files contained in the folder. Folder object. Contains methods and properties used to create, delete, or move folders. Also used to query the folder name, path, and multiple other properties to the system. Folders collection. Provides a list of all folders in the folder. TextStream object. Used to read and write text files.

转载请注明原文地址:https://www.9cbs.com/read-4267.html

New Post(0)