Path attribute
Returns the path of the specified file, folder, or drive.
Object.Path
The object should be the name of the file, folder, or drive object.Description
For a drive, the path does not contain the root directory. For example, the path
Shortname attribute
Returns the short file name converted according to the naming conventions of the first 8.3 file.
Object.Shortname
The object should be the name of the file or folder object.Description
BelowCodeExamplesShortnameAttribute:
Volumename attribute
Sets or returns the volume label of the specified drive. Read/write.
Object.Volumename[= Newname]Parameters
Object
Required. Should beDriveObject Name.
Newname
Optional. If this parameter is providedNewnameFor the
Early Origins
The "Ancestor" of regular expressions can be traced back to early studies on how the human nervous system works. Warren McCulloch and Walter Pitts, two neuroscientists, developed a mathematical method to describe these neural networks.
Write Method
DirectionTextstreamWrite the specified string to the file.
Object.Write(String)Parameters
Object
Required. Should beTextstreamObject Name.
String
Optional. The text of the file to be written.Description
The specified string is
Availablespace attributes
Returns the size of the user's available space for the specified drive or network share.
Object. Availablespace
ObjectShould beDriveObject Name.Description
AvailablespaceAttribute andFreespaceThe returned values are
Skip Method
ReadTextstreamThe specified number of characters are skipped.
Object.Skip(Characters)Parameters
Object
Required. Should beTextstreamObject Name.
Characters
Required. The number of characters skipped during file reading.Description
WriteBlankLines Method
InTextStreamA specified number of new line characters are written to the file.
Object.WriteBlankLines(Lines)Parameters
Object
Required. Should beTextStreamObject Name.
Lines
Required. The number of new line characters to
Drive object
Provides access to disk drive or network shared attributes.Description
The following code demonstrates how to useDriveProperties of the Object Access drive:
Function ShowFreeSpace (drvPath) Dim fso, d, s Set fso = CreateObject
Drives set
A set of read-only available drives.Description
Whether or not the media is inserted, the removable media drive is displayed onDrivesCollection.
The following code demonstrates how to obtainDrivesSet and useFor Each... NextStatement
AtEndOfLine attributes
TextStreamIn the file, if the file Pointer Points to the end of the line mark, it will returnTrueOtherwise, if it is not read-only, returnFalse.
Object. AtEndOfLine
The object should be the name of the TextStream
Remove Method
SlaveDictionaryObject.
Object.Remove(Key)Parameters
Object
Required. Should beDictionaryObject Name.
Key
Required. AndDictionaryKey to be deleted in the objectKey.Description
If the specified key and project pair do not exist,
Column attribute
Read-only attribute, returnTextStreamThe column number of the current character position in the file.
Object. Column
An object is usually the name of a TextStream object.Description
After writing new line characters, but before
DriveLetter attributes
Returns the drive letter shared by the local drive or network. Read-only.
Object. DriveLetter
ObjectShould beDriveObject Name.Description
If the specified drive is not associated with the drive letter (for example, a
Export path attributes
Returns the short path name converted according to the 8.3 naming convention.
Object. Export path
The object should be the name of the File or Folder object.Description
The following code demonstrates how to
These pages contain information to provide a general introduction to regular expressions.
While trying to make the content of each topic relatively independent, most of the information contained in these topics depends on the understanding of the
IsRootFolder attributes
If the specified folder is the root folder, returnTrueOtherwiseFalse.
Object. IsRootFolder
ObjectShould beFolderObject Name.Description
The following code demonstrates how to useIsRootFolderAttribute:
Function
Create a regular expression
The method for constructing a regular expression is the same as that for creating a mathematical expression. That is, a larger expression is created by combining a small expression with a variety of metacharacters and
Operator
Until now, all the examples we see are looking for chapter titles that appear anywhere. Any character string 'Chapter 'followed by a space and a number may be a real Chapter title or a cross reference to other chapters. Because the title of
Select and group
Select the '|' character to select two or more candidate items. By extending the regular expression of a Chapter title, you can expand it to an expression not only applicable to the Chapter title. However, this is not as
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