VBS Tutorial: Property-shortpath Properties _vbs

ShortPath Property Returns the short path name converted in accordance with the 8.3 naming convention. object.ShortPath Object should be the name of the File or Folder object. Description The following code provides an example of how to use

VBS Tutorial: Property-type Properties _vbs

Type Property Returns the type information for a file or folder. For example, for an extension of. TXT file, return "Text document". object.Type Object should be the name of the File or Folder object. Description The following code provides an

VBS TUTORIAL: Introduction of regular expressions-regular expression _vbs

Regular expressions If you have not used regular expressions before, you may not be familiar with this term or concept. However, they are not as novel as you might think. Recall how you found the file on your hard disk. Are you sure you will use

VBS TUTORIAL: Introduction to Regular Expressions-common character _vbs

Ordinary characters Normal characters are made up of all print and nonprinting characters that are not explicitly specified as metacharacters. This includes all uppercase and lowercase alphabetic characters, all numbers, all punctuation marks, and

VBS Tutorial: Method-read Method _vbs

Read method Reads the specified number of characters from the textstream file and returns the result string. object.Read(characters) Parameters Object Required option. Should be the name of the TextStream object. Characters Required option.

VBS Tutorial: Method-skip Method _vbs

Skip method Skips a specified number of characters while reading the textstream file. object.Skip(characters) Parameters Object Required option. Should be the name of the TextStream object. Characters Required option. The number of characters

VBS Tutorial: Method-writeblanklines Method _vbs

WriteBlankLines method Writes a specified number of new line characters in the textstream file. object.WriteBlankLines(lines) Parameters Object Required option. Should be the name of the TextStream object. Lines Required option. The number of

VBS Tutorial: Object-drives Collection _vbs

Drives Collection Read only the collection of all available drives. Description Removable media drives are displayed in the drives collection, whether or not they are inserted into the media. The following code illustrates how to get the drives

VBS Tutorial: Object-filesystemobject Object _vbs

FileSystemObject objects Provides access to the computer's file system. Description The following code illustrates how to use the FileSystemObject object to return a TextStream object that can be read or written to: Dim fso, MyFileSet fso =

VBS Tutorial: Object-folders Collection _vbs

Folders Collection A collection of all the folder objects contained in a folder object. Description The following code illustrates how to get the Folders collection and use the For each ... Next statement to enumerate the members of the

VBS Tutorial: Property-atendofline Properties _vbs

AtEndOfLine Property textstream file, returns Trueif the file pointer points to the end of the line, or Falseif it is not read-only. object.AtEndOfLine Object should be the name of the TextStream object. Description The AtEndOfLine property

VBS Tutorial: Property-column Properties _vbs

Column Property A read-only property that returns the column number of the current character position in the textstream file. object.Column object is usually the name of the TextStream object. Description After writing a new line character, but

VBS Tutorial: Property-drive Properties _vbs

Drive Property Returns the drive letter of the drive that contains the specified file or folder. Read-only. object.Drive Object should be the name of the File or Folder object. Description The following code provides an example of how to use

VBS Tutorial: Property-driveletter Properties _vbs

DriveLetter Property Returns the drive letter for a local drive or network share. Read-only. object.DriveLetter object should be the name of the Drive object. Description If the specified drive is not associated with a drive letter (for

VBS Tutorial: Property-drives Properties _vbs

Drives property Returns a drives collection of all Drive objects on the local machine. object.Drives Object should be the name of the FileSystemObject object. Description Removable media drives are displayed in the drives collection, whether or not

VBS Tutorial: Property-drivetype Properties _vbs

DriveType Property Returns a value that describes the type of the specified drive. object.DriveType object should be the name of the Drive object. Description The following code provides an example of how to use the DriveType property:

VBS Tutorial: Property-files Properties _vbs

Files Property Returns the files collection that consists of all the file objects in the specified folder, including hidden and system files. object.Files object should be the name of the Folder object. Description The following code provides

VBS Tutorial: Property-freespace Properties _vbs

FreeSpace Property Returns the amount of free space for a specified drive or network share for the user. Read-only. object.FreeSpace object should be the name of the Drive object. Description The FreeSpace property is essentially the same as

VBS Tutorial: Property-isready Properties _vbs

IsReady Property Returns Trueif the specified drive is ready, otherwise returns False. object.IsReady object should be the name of the Drive object. Description For removable media drives and CD-ROM drives,isready returns Trueonly if the

VBS Tutorial: Property-isrootfolder Properties _vbs

IsRootFolder Property Returns Trueif the specified folder is the root folder, otherwise returns False. object.IsRootFolder object should be the name of the Folder object. Description The following code provides an example of how to use the

Total Pages: 64722 1 .... 44955 44956 44957 44958 44959 .... 64722 Go to: GO

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.