JavaScript Runtime Library Method

Source: Internet
Author: User

JavaScript Runtime Library Method

Description Language Elements
Add a key-value and project pair to the Dictionary object. Add method (Dictionary)
Add a new Folder to the Folders set. Add method (Folders)
Attaches a name to an existing path. BuildPath Method
Close an opened TextStream file. Close Method
Copy a specified file or folder from a location to another location. Copy Method
Copy one or more files from one location to another. CopyFile Method
Copy a folder from one location to another. CopyFolder Method
Create a folder. CreateFolder Method
Create a specified file name and return the TextStream object that can be used to read and write the file. CreateTextFile Method
Deletes a specified file or folder. Delete Method
Deletes a specified object. DeleteFile Method
Deletes a specified folder and its content. DeleteFolder Method
True is returned if the specified drive exists. False is returned if the drive does not exist. DriveExists Method
If a specified key value exists in the Dictionary object, True is returned. If no key value exists, False is returned. Exists Method
Returns True if the specified file exists; otherwise, returns False. FileExists Method
Returns True if the specified folder exists; otherwise, returns False. FolderExists Method
Return a complete and clear path according to the given Path Specification. GetAbsolutePathName Method
For the given path specification, a string containing the file (No file extension) or folder basic name is returned. GetBaseName Method
Returns a Drive object corresponding to the Drive in the specified path. GetDrive Method
Returns a string containing the name of the drive in the specified path. GetDriveName Method
Returns a string containing the extension of the component at the end of a path. GetExtensionName Method
Returns a File object corresponding to the File in the specified path. GetFile method
Returns the name or folder of the file at the end of the specified path, which is not part of the driver specification. GetFileName Method
Returns the version number of the specified file. GetFileVersion Method
Returns a Folder object corresponding to the Folder in the specified path. GetFolder Method
Returns a string containing the name of the top-level folder of the file or folder at the end of the specified path. GetParentFolderName Method
Returns the specified special folder. GetSpecialFolder Method
Returns the name of a random temporary file or folder. GetTempName Method
Returns an array that contains all the items in the Dictionary object. Items Method
Returns an array that contains all the existing key values in the Dictionary object. Keys Method
Moves a specified file or folder from one location to another. Move Method
Move one or more files from one location to another. MoveFile Method
Move one or more folders from one location to another. MoveFolder Method
Open the specified file and return a TextStream object that can be used for reading, writing, or appending to the file. OpenAsTextStream Method
Open the specified file and return a TextStream object that can be used for reading, writing, or appending to the file. OpenTextFile Method
Reads a specified number of characters from the TextStream file and returns the result string. Read Method
Reads a complete TextStream file and returns the result string. ReadAll Method
Reads a whole line from a TextStream file (read but does not contain line breaks) and returns a result string. ReadLine Method
Deletes a key-value and project pair from a Dictionary object. Remove Method
Deletes all key-value and project pairs from a Dictionary object. RemoveAll Method
When reading a TextStream file, the specified number of characters are skipped. Skip Method
Skip the next row when reading the TextStream file. SkipLine Method
Writes the specified string to the TextStream file. Write Method
Writes a specified number of line breaks to the TextStream file. WriteBlankLines Method
Writes the specified string and line feed characters to the TextStream file. WriteLine Method

Related Article

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.