What is FSO?

Source: Internet
Author: User
Tags naming convention parent directory

What is FSO?
FSO is a File System Object. It is a technology used to list Windows Disk directories and files and delete, create, copy, cut, and move directories and files. Benefits of using the FSO website: directly read files and subdirectories under the Directory for easy maintenance. If you need to add any content, place the files under the corresponding directory. The FSO website is similar to the Windows operation interface, it is easy to use and Windows will use the FSO website.
Imagine that it is very convenient to make files and folders on your hard disk into a website and update the content as long as they are added to the directory in the future? In this way, new users with no experience can build their own websites.

FSO attribute. The directory and file are the same

AtEndOfLine attributes
If the file pointer is located just before the row mark in the TextStream file, True is returned; if not, False is returned.
AtEndOfStream attributes
If the file pointer is at the end of the TextStream file, True is returned. If not, False is returned.
Attributes
Sets or returns the attributes of a file or folder.
AvailableSpace attributes
Returns the size of the space available to users on the specified drive or network share.
Column attribute
Returns the column number of the current character position in the TextStream file.
CompareMode attribute
Sets and returns the comparison mode to compare string keywords in a Dictionary object.
Count attribute
Returns the number of items in a collection or Dictionary object.
DateCreated attributes
Returns the creation date and time of the specified file or folder. Read-only.
DateLastAccessed attributes
Returns the last accessed date and time of the specified file or folder.
DateLastModified attributes
Returns the last modified date and time of the specified file or folder.
Drive properties
Returns the drive letter of the drive where the specified file or folder is located.
DriveLetter attributes
Returns the drive letter shared by the local physical drive or network.
Drives attributes
Returns a Drives set that contains all available Drive objects on the local computer.
DriveType attributes
Returns a value indicating the type of the specified drive.
Files properties
Returns a File set that contains all File objects in the specified folder, including objects set to hidden and system File attributes.
FileSystem attributes
Returns the type of the file system used by the specified drive.
FreeSpace Attributes
Returns the size of the space available to users on the specified drive or network share.
IsReady attributes
If the specified drive is ready, True is returned. If not, False is returned.
IsRootFolder attributes
If the specified folder is the root folder, True is returned. If not, False is returned.
Item attribute
Set or return the corresponding project for the specified keyword in the Dictionary object. For a set, a project is returned based on the specified keyword.
Key attribute
Set keywords in the Dictionary object.
Line attributes
Returns the current row number in the TextStream file.
Name attribute
Sets or returns the name of the specified file or folder.
ParentFolder attributes
Returns the folder object at the upper level of a specified file or folder.
Path attribute
Returns the path of the specified file, folder, or drive.
RootFolder attributes
Returns a Folder object that represents the root Folder of the specified drive.
SerialNumber attribute
Returns the decimal serial number that uniquely identifies a disk volume.
ShareName attribute
Returns the network share name of the specified drive.
ShortName attribute
Return the short name used by the program that requires the early 8.3 naming convention.
Export path attributes
Return the short path used by the program that requires the early 8.3 naming convention.
Size attribute
Returns the size of the specified file, in bytes. For folders, the size of all files and subfolders in the folder is returned, in bytes.
SubFolders attributes
Returns a Folders set that contains all the Folders in the specified folder, including those that are set as hidden and system file attributes.
TotalSize attribute
Returns the total space shared by the drive or network, in bytes.
Type attribute
Returns information about the file or folder type.
VolumeName attribute
Sets or returns the volume name of the specified drive.
Method or attribute description
BuildPath () to generate a file path
Copy File ()
CopyFolder () copy Directory
CreateFolder () create a new directory
CreateTextFile () to generate a file
DeleteFile () deletes an object.
DeleteFolder () deletes a directory
DriveExists () checks whether the drive letter exists
Drives returns a collection of drive letters.
FileExists () checks whether a file exists
FolderExists checks whether a directory exists
GetAbsolutePathName () gets the absolute path of a file
GetBaseName () get the file name
GetDrive () gets the drive letter name
GetDriveName () gets the drive letter name
GetExtensionName () gets the file suffix
GetFile () generate a file object
GetFileName () get the file name
GetFolder () to get the directory object
GetParentFolderName: get the parent directory name of the file or directory
GetSpecialFolder () get the special directory name
GetTempName () generates a temporary file object
MoveFile () move a file
MoveFolder () move Directory
OpenTextFile () open a file stream

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.