Draft for Information Only
Content
FileSystemObject Object Methods Properties Remarks
FileSystemObject Object
FileSystemObject object of FileSystemObject component is related to accessing
the file system of the web server.
Methods
Method |
Description |
BuildPath |
to append a subfolder name to an existing path together with an additional path
separator. |
CopyFile |
to copy one or more files from the source location to the destination location. |
CopyFolder |
to copy a folder from the source location to the destination location
recursively. |
CreateFolder |
to create the specified folder |
CreateTextFile |
to return a TextStream object corresponding to the specified file after
creation
for text manipulation. |
DeleteFile |
to delete the specified file. |
DeleteFolder |
to delete the specified folder and the contents of the specified folder. |
DriveExists |
to check whether the specified drive exist or not |
FileExists |
to check whether the specified file exist or not |
FolderExists |
to check whether the specified folder exist or not |
GetAbsolutePathName |
to get the complete and unambiguous path from the specified path specification |
GetBaseName |
to get the string of the base name of the last component without any file
extension from the specified path. |
GetDrive |
to return an instance of a Drive object corresponding to the specified drive
specification. |
GetDriveName |
to get the string of the name of the drive from the specified path |
GetExtensionName |
to get the string of the extension of the last component from the specified
path. |
GetFile |
to return an instance of a File object corresponding to the specified path. |
GetFileVersion |
to get the version number of the specified file |
GetFileName |
to get the string of the file name of the last component from specified path. |
GetFolder |
to return an instance of a Folder object corresponding to the specified folder
specification. |
GetParentFolderName |
to get the string of the parent folder name of the last component from specified
path. |
GetSpecialFolder |
to return an instance of a Folder object corresponding to the specified special
folder object. |
GetTempName |
to return a temporay file or folder name randomly generated by the computer. |
MoveFile |
to move one or more files from the source location to the destination location. |
MoveFolder |
to move one or more folders from the source location to the destination
location. |
OpenTextFile |
to return a TextStream object corresponding to the specified file after opening
for text manipulation. |
Properties
Property |
Description |
Drives (Collection) |
to return the collection of all Drive objects available on the file system of
the web server.
|
Remarks
The
methods and properties of FileSystemObject object can be grouped into
- File System
- System Information:
GetSpecialFolder; Drives
- Path String Manipulation:
BuildPath;
GetAbsolutePathName;
GetBaseName;
GetExtensionName;
GetTempName
- Drive
- Drive Information:
DriveExists;
GetDriveName
- Drive Manipulation:
GetDrive
- Folder
- Folder Information:
FolderExists;
GetParentFolderName
- Folder Manipulation:
CopyFolder;
CreateFolder;
DeleteFolder;
GetFolder;
MoveFolder
- File
- File Information:
FileExists;
GetFileVersion;
GetFileName
- File Manipulation:
CopyFile;
DeleteFile;
GetFile;
MoveFile
- TextStream
- Text File Manipulation:
CreateTextFile;
OpenTextFile
©sideway
ID: 130300015 Last Updated: 3/14/2013 Revision: 0 Ref:
References
- Active Server Pages, , http://msdn.microsoft.com/en-us/library/aa286483.aspx
- ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929%28v=vs.90%29.aspx
- ASP Best Practices, , http://technet.microsoft.com/en-us/library/cc939157.aspx
- ASP Built-in Objects, , http://msdn.microsoft.com/en-us/library/ie/ms524716(v=vs.90).aspx
- Response Object, , http://msdn.microsoft.com/en-us/library/ms525405(v=vs.90).aspx
- Request Object, , http://msdn.microsoft.com/en-us/library/ms524948(v=vs.90).aspx
- Server Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525541(v=vs.90).aspx
- Application Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525360(v=vs.90).aspx
- Session Object (IIS), , http://msdn.microsoft.com/en-us/library/ms524319(8v=vs.90).aspx
- ASPError Object, , http://msdn.microsoft.com/en-us/library/ms524942(v=vs.90).aspx
- ObjectContext Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525667(v=vs.90).aspx
- Debugging Global.asa Files, , http://msdn.microsoft.com/en-us/library/aa291249(v=vs.71).aspx
- How to: Debug Global.asa files, , http://msdn.microsoft.com/en-us/library/ms241868(v=vs.80).aspx
- Calling COM Components from ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524620(v=VS.90).aspx
- IIS ASP Scripting Reference, , http://msdn.microsoft.com/en-us/library/ms524664(v=vs.90).aspx
- ASP Keywords, , http://msdn.microsoft.com/en-us/library/ms524672(v=vs.90).aspx
- Creating Simple ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524741(v=vs.90).aspx
- Including Files in ASP Applications, , http://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx
- ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929(v=vs.90).aspx
- FileSystemObject Object, , http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.84).aspx
- http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx, , ADO Object Model
- ADO Fundamentals, , http://msdn.microsoft.com/en-us/library/windows/desktop/ms680928(v=vs.85).aspx
|
|