JScript  

Scripting Run-Time Methods

[This is preliminary documentation and subject to change]

Desciption Language Element
Adds a key and item pair to a Dictionary object. Add Method (Dictionary)
Adds a new Folder to a Folders collection. Add Method (Folders)
Appends a name to an existing path. BuildPath Method
Closes an open TextStream file. Close Method
Copies a specified file or folder from one location to another. Copy Method
Copies one or more files from one location to another. CopyFile Method
Recursively copies a folder from one location to another. CopyFolder Method
Creates a folder. CreateFolder Method
Creates a specified file name and returns a TextStream object that can be used to read from or write to the file. CreateTextFile Method
Deletes a specified file or folder. Delete Method
Deletes a specified file. DeleteFile Method
Deletes a specified folder and its contents. DeleteFolder Method
Returns True if the specified drive exists; False if it does not. DriveExists Method
Returns True if a specified key exists in the Dictionary object, False if it does not. Exists Method
Returns True if a specified file exists; False if it does not. FileExists Method
Returns True if a specified folder exists; False if it does not. FolderExists Method
Returns a complete and unambiguous path from a provided path specification. GetAbsolutePathName Method
Returns a string containing the base name of the file (less any file extension), or folder in a provided path specification. GetBaseName Method
Returns a Drive object corresponding to the drive in a specified path. GetDrive Method
Returns a string containing the name of the drive for a specified path. GetDriveName Method
Returns a string containing the extension name for the last component in a path. GetExtensionName Method
Returns a File object corresponding to the file in a specified path. GetFile Method
Returns the last file name or folder of a specified path that is not part of the drive specification. GetFileName Method
Returns the version number of a specified file. GetFileVersion Method
Returns a Folder object corresponding to the folder in a specified path. GetFolder Method
Returns a string containing the name of the parent folder of the last file or folder in a specified path. GetParentFolderName Method
Returns the special folder specified. GetSpecialFolder Method
Returns a randomly generated temporary file or folder name. GetTempName Method
Returns an array containing all the items in a Dictionary object. Items Method
Returns an array containing all existing keys in a Dictionary object. Keys Method
Moves a specified file or folder from one location to another. Move Method
Moves one or more files from one location to another. MoveFile Method
Moves one or more folders from one location to another. MoveFolder Method
Opens a specified file and returns a TextStream object that can be used to read from, write to, or append to the file. OpenAsTextStream Method
Opens a specified file and returns a TextStream object that can be used to read from, write to, or append to the file. OpenTextFile Method
Reads a specified number of characters from a TextStream file and returns the resulting string. Read Method
Reads an entire TextStream file and returns the resulting string. ReadAll Method
Reads an entire line (up to, but not including, the newline character) from a TextStream file and returns the resulting string. ReadLine Method
Removes a key, item pair from a Dictionary object. Remove Method
Removes all key, item pairs from a Dictionary object. RemoveAll Method
Skips a specified number of characters when reading a TextStream file. Skip Method
Skips the next line when reading a TextStream file. SkipLine Method
Writes a specified string to a TextStream file. Write Method
Writes a specified number of newline characters to a TextStream file. WriteBlankLines Method
Writes a specified string and newline character to a TextStream file. WriteLine Method