| Method |
Description |
| Buildpaty (Path,name) |
After you add Name to path, the path symbol (), such as Objfso.buildpath (Server.MapPath ("F"), "a.asp") is automatically corrected when necessary to return the c:inetpubwwwrootfa.asp path. |
| Copyfile.source.destination,overwrite |
Copies the file specified by Source to destination, and if the Overwrite value is True, overwrites the destination file with the same name. |
| CopyFolder Source,destination,oerwrite |
Copies the folder specified by Source to destination, and if the Overwrite value is True, a folder with the same name as destination is overwritten. |
| CreateFolder (Foldermane) |
Creates a Foldermane folder and returns an instance of a Folder object. |
| CreateText (Filename,overwrite,unicode) |
Creates a text file named filename, and returns an instance of the TextStream object. Overwrite is a Boolean value that, if true, indicates that it can be overridden, otherwise it is not overwritten, the default value is Flase,unicode Boolean, and if true, it is represented as a Unicode text file, otherwise it is an ASCII text file, and the default value is False. |
| DeleteFile Path,force |
Deletes the file specified by Path, Force is a Boolean, and if the value is true, deletes the read-only file, the default value is Flase (no read-only files are deleted). |
| DeleteFolder Path,force |
Deletes the folder specified by Path, Force is a Boolean, and if the value is true, deletes the read-only folder, and the default value is False (do not delete the read-only folders). |
| Driveexists (Paty) |
Returns TRUE if the disk specified by Path exists, otherwise returns FALSE. |
| FileExists (Path) |
Returns True if the file specified by Path exists, otherwise returns FALSE. |
| FolderExists (Path) |
Returns True if the folder specified by Path exists, otherwise returns FALSE. |
| Getdrive (Path) |
Returns the disk containing Path with the return value of a Drive object instance. |
| GetDriveName (Path) |
Returns the name of the disk that contains Path, and the return value is a string. |
| Getextensionname (Path) |
Returns the extension of the file specified by Path, and the return value is a string. |
| GetFile (Path) |
Returns the file specified by Path, which returns a value of one instance of the file object. |
| GetFileName (Path) |
Returns the file name or folder name at the back of the Path. |
| GetFolder (Path) |
Returns the folder specified by Path, and the return value is an instance of a Folder object. |
| Getparentfoldername (Path) |
Returns the name of the Path's parent folder, with the return value being a string. |
| GetSpecialFolder (Name) |
Returns the path to a special folder, which can be windowsfolder, Systemfolder, or Temporaryfolder, representing the Windows folder, the System folder, and the folder where the temporary files are stored. |
| MoveFile source,destination |
Moves the file specified by Source to destination. |
| MoveFolder source,destination |
Moves the folder specified by Source to destination. |
| OpenTextFile (Filename,iomode,create,format) |
Opens the Filenaem-specified text file and returns a TextStream object instance, IOMode the way the text file is opened, 1 is read-only, 2 is writable, and 3 is appended to the back; create indicates whether the text file is to be created when it does not exist; In the format of a text file, 1 represents a Unicode text file, 0 represents an ASCII text file, and-2 indicates a system default value. |