InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml)ASP.NetDocument Object Model (DOM)JavaScript FileSystemObject ComponentFileSystemObject ObjectDrive Object Folder ObjectCopy / Delete / MoveCreateTextFile / Files / ParentFolder / SubFolders Draft for Information Only
Content
Folder Object
Folder ObjectOne key function of FileSystemObject Component is the manipulation of folders of the file system. FolderObject.Size PropertyFolderObject.Size property is a property to to get the total size, in bytes, for all files and subfolders contained in the specified folder object instance. Syntax:FolderObjectName.Size Or in VBScript. Imply foldersize =FolderObjectName.Size Or in JScript. Imply foldersize =FolderObjectName.Size Parameters:foldersize The parameter "foldersize" is the name assigned to the value returned by the size property referred to the specified Folder object. FolderObjectName The parameter "FolderObjectName" is used to specify the name of the instance of the Folder Object related to. Returns:Value The return value of the size property is a value in bytes, for all files and subfolders contained in the specified folder object instance. Remarks:FolderObjectName refers to a Folder Object. And File object is another possible alternate object for the Size property. Examples:
FolderObject.Drive PropertyFolderObject.Drive property is a read only property to get and return the drive letter on which the specified folder object instance resided. Syntax:FolderObjectName.Drive Or in VBScript. Imply driveletter =FolderObjectName.Drive Or in JScript. Imply driveletter =FolderObjectName.Drive Parameters:driveletter The parameter "driveletter" is the name assigned to the drive letter returned by the drive property referred to the specified Folder object. FolderObjectName The parameter "FolderObjectName" is used to specify the name of the instance of the Folder Object related to. Returns:string The return value of the drive property is a string of the letter name representation of the drive on which the specified folder object instance resided. Remarks:FolderObjectName refers to a Folder Object. And File object is another possible alternate object for the Drive property. Examples:
FolderObject.IsRootFolder PropertyFolderObject.IsrootFolder property is a property to check and return a value indictating whether the specified folder object instance is a root folder or not. Syntax:FolderObjectName.IsRootFolder Or in VBScript. Imply rootfolderflag =FolderObjectName.IsRootFolder Or in JScript. Imply rootfolderflag =FolderObjectName.IsRootFolder Parameters:rootfolderflag The parameter "rootfolderflag" is the name assigned to the boolean value returned by the IsRootFolder property referred to the specified Folder object. FolderObjectName The parameter "FolderObjectName" is used to specify the name of the instance of the Folder Object related to. Returns:boolean value The return value of the IsRootFolder property is a boolean value to indicate whether the specified folder object instance is a roof folder or not. IsRootFolder property returns True only when the specified folder is the root folder and returns False if the specified folder is not. Remarks:FolderObjectName refers to a Folder Object. Examples:
FolderObject.Name PropertyFolderObject.Name property is a read/write property to set and return the name of the specified folder object instance. Syntax:FolderObjectName.Name [= newname] Or in VBScript. Imply foldername =FolderObjectName.Name FolderObjectName.Name =newfoldername Or in JScript. Imply foldername =FolderObjectName.Name FolderObjectName.Name =newfoldername Parameters:foldername The parameter "foldername" is the name assigned to the string returned by the Name property referred to the specified Folder object. FolderObjectName The parameter "FolderObjectName" is used to specify the name of the instance of the Folder Object related to. newfoldername The optional parameter "newfoldername" is used to specify the new folder name to be assigned by the Name property to the folder name referred to the specified Folder object. Returns:string The return value of the Name property is the string of existing folder name refered to the specified folder object instance. Remarks:FolderObjectName refers to a Folder Object. And File object is another possible alternate object for the Name property. Examples:
FolderObject.Path PropertyFolderObject.Path property is a property to get and return the path of the specified folder object instance. Syntax:FolderObjectName.Path Or in VBScript. Imply folderpath =FolderObjectName.Path Or in JScript. Imply folderpath =FolderObjectName.Path Parameters:folderpath The parameter "folderpath" is the name assigned to the string returned by the Name property referred to the specified Folder object. FolderObjectName The parameter "FolderObjectName" is used to specify the name of the instance of the Folder Object related to. Returns:string The return value of the Path property is the string of path refered to the specified folder object instance. Remarks:FolderObjectName refers to a Folder Object. And File and Drive objects are another possible alternate objects for the Path property. Examples:
©sideway ID: 130500003 Last Updated: 5/8/2013 Revision: 0 Ref: References
Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 7 Reference 79 Computer Hardware 251 Software Application 213 Digitization 32 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019