Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

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

ASP Server Component, Built-in Function, Folder Object

Folder Object

Folder object of FileSystemObject component is related to manipulating folder of a file system of the web server located.

Methods

Method Description
Copy to copy the specified folder object instance to the destination location.
Delete to delete the specified folder object instance.
Move to move the specified folder object instance to the destination location.
CreateTextFile to return a TextStream object corresponding to the specified file after creation for text manipulation.

Properties

Property Description
Attributes to set or get the folder attributes of the specified folder object instance.
DateCreated a read only property to get the created date and time attribute of the specified folder object instance.
DateLastAccessed a read only property to get the last accessed date and time attribute of the specified folder object instance.
DateLastModified a read only property to get the last modified date and time attribute of the specified folder object instance.
Drive a read only property to get the drive letter on which the specified folder object instance resides.
Files (Collection) to return a collection of all File objects contained in the specified folder object instance.
IsRootFolder to check whether the specified folder object instance is a root folder or not.
Name  to set or get the name of the specified folder object instance.
ParentFolder a read only property to return the folder object of the parent of the specified folder object instance.
Path to get the path of the specified folder object instance
ShortName to get the short name with 8.3 naming convention of the specified folder object instance
ShortPath to get the short path with 8.3 naming convention of the specified folder object instance
Size to get the total size, in bytes, for all files and subfolders of the specified folder object instance.
SubFolders (Collection) to return a collection of all Folder objects contained in the specified folder object instance.
Type to get the type information of the specified folder object instance

Remarks

The methods and properties of Folder object can be grouped into

  • Folder Inforamtion
    • Folder Space: Size
    • Folder Details: Drive; IsRootFolder; Name; Path; ShortName; ShortPath; Type
    • Folder Properties: Attributes; DateCreated; DateLastAccessed; DateLastModified;
  • Folder Manipulation
    • Folder operation: Copy; Delete; Move
    • Folder Object Manipulation: CreateTextFile; Files; ParentFolder, SubFolders

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

ASP Server Component, Built-in Function, Drive Object

Drive Object

Drive object of FileSystemObject component is related to accessing the drive properties of a file system of the web server located.

Properties

Property Description
AvailableSpace to get the amount of available space on the specified drive object instance.
DriveLetter a read only property to get the drive letter of the specified drive object instance of a physical drive.
DriveType to get the drive type of the specified drive object instance represented by a integer.
FileSystem to get the type of file system used in the specified drive object instance.
FreeSpace a read only property to get the free spave available on the specified drive object instance of a physical drive.
IsReady to check whether the specified drive object instance is ready or not.
Path to get the path of the specified object instance.
RootFolder a read only property to return an instance of a Folder object of the root of the drive.
SerialNumber to get the unique decimal serial number of the disk volume identity of the specified drive object instance.
ShareName to get the network share name of the specified drive object instance.
TotalSize  to get the total space, in bytes, of the specified drive object instance.
VolumeName to get the volume name of the specified path specification

Remarks

The methods and properties of Drive object can be grouped into

  • Drive Inforamtion
    • Drive Space: AvailableSpace; FreeSpace; TotalSize
    • Drive Details: DriveLetter; DriveType; FileSystem; SerialNumber; ShareName; VolumeName; Path
  • Drive Manipulation
    • Drive Status: IsReady
    • Drive Object Manipulation: RootFolder
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

15/03


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