Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=130300015

FileSystemObject Object, ASP Server Component, Built-in Function

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
Previous Month  MAR  2013  Next Month
SMTWTFS
12
3456789
10111213141516
17181920212223
24252627282930
31

Previous Month  MAR  2012  Next Month
SMTWTFS
123
45678910
11121314151617
18192021222324
25262728293031

Sideway BICK Blog

14/03


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013