InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml)ASP.NetDocument Object Model (DOM)JavaScript FileSystemObject ComponentFileSystemObject ObjectDrive ObjectFolder Object File ObjectCopy / Delete / MoveOpenAsTextStream / ParentFolder Draft for Information Only
Content
File Object
File ObjectOne key function of FileSystemObject Component is the manipulation of files of the file system. FileObject.Size PropertyFileObject.Size property is a property to to get the size, in bytes, of the file related to the specified file object instance. Syntax:FileObjectName.Size Or in VBScript. Imply filesize =FileObjectName.Size Or in JScript. Imply filesize =FileObjectName.Size Parameters:filesize The parameter "filesize" is the name assigned to the value returned by the size property referred to the specified File object. FileObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File 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:FileObjectName refers to a File Object. And Folder object is another possible alternate object for the Size property. Examples:
FileObject.Drive PropertyFileObject.Drive property is a read only property to get and return the drive letter on which the specified file object instance resided. Syntax:FileObjectName.Drive Or in VBScript. Imply driveletter =FileObjectName.Drive Or in JScript. Imply driveletter =FileObjectName.Drive Parameters:driveletter The parameter "driveletter" is the name assigned to the drive letter returned by the drive property referred to the specified File object. FileObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File 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 file object instance resided. Remarks:FileObjectName refers to a File Object. And Folder object is another possible alternate object for the Drive property. Examples:
FileObject.Name PropertyFileObject.Name property is a read/write property to set and return the name of the specified file object instance. Syntax:FileObjectName.Name [= newname] Or in VBScript. Imply filename =FileObjectName.Name FileObjectName.Name =newfilename Or in JScript. Imply filename =FileObjectName.Name FileObjectName.Name =newfilename Parameters:filename The parameter "filename" is the name assigned to the string returned by the Name property referred to the specified File object. FileObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File Object related to. newfilename The optional parameter "newfilename" is used to specify the new file name to be assigned by the Name property to the file name referred to the specified File object. Returns:string The return value of the Name property is the string of existing file name refered to the specified file object instance. Remarks:FileObjectName refers to a File Object. And Folder object is another possible alternate object for the Name property. Examples:
FileObject.Path PropertyFileObject.Path property is a property to get and return the path of the specified file object instance. Syntax:FileObjectName.Path Or in VBScript. Imply filepath =FileObjectName.Path Or in JScript. Imply filepath =FileObjectName.Path Parameters:filepath The parameter "filepath" is the name assigned to the string returned by the Name property referred to the specified File object. FileObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File Object related to. Returns:string The return value of the Path property is the string of path refered to the specified file object instance. Remarks:FileObjectName refers to a File Object. And Folder and Drive objects are another possible alternate objects for the Path property. Examples:
FileObject.ShortName PropertyFileObject.ShortName property is a property to get and return the short name converntion for programs that require the earlier 8.3 naming format of the specified file object instance. Syntax:FileObjectName.ShortName Or in VBScript. Imply fileshortname =FileObjectName.ShortName Or in JScript. Imply fileshortname =FileObjectName.ShortName Parameters:fileshortname The parameter "fileshortname" is the name assigned to the string returned by the ShortName property referred to the specified File object. FileObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File Object related to. Returns:string The return value of the ShortName property is the string of the 8.3 naming convention of a file name refered to the specified file object instance. Remarks:FileObjectName refers to a File Object. And Folder object is another possible alternate object for the ShortName property. Examples:
FileObject.ShortPath PropertyFileObject.ShortPath property is a property to get and return the short path converntion for programs that require the earlier 8.3 naming format, of the specified file object instance. Syntax:FileObjectName.ShortPath Or in VBScript. Implyipt. Imply fileshortpath =FileObjectName.ShortPath Or in JScript. Implyipt. Imply fileshortpath =FileObjectName.ShortPath Parameters:fileshortpath The parameter "fileshortpath" is the name assigned to the string returned by the ShortName property referred to the specified File object. FileObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File Object related to. Returns:string The return value of the ShortPath property is the string of the 8.3 naming convention of the path refered to the specified file object instance. Remarks:FileObjectName refers to a File Object. And Folder object is another possible alternate object for the ShortPath property. Examples:
FileObject.Type PropertyFileObject.Type property is a property to get and return the information type of the specified file object instance. Syntax:ax:FileObjectName.Type Or in VBScript. Implyply filetype =FileObjectName.Type Or in JScript. Implyply filetype =FileObjectName.Type Parameters:rs:filetype The parameter "filetype" is the name assigned to the string returned by the Type property referred to the specified File object. FileObjectName The parameter "FileObjectName" is used to specify the name of the instance of the File Object related to. Returns:ns:string The return value of the Type property is the string of the information type of the specified file object instance. Remarks:ks:FileObjectName refers to a File Object. And Folder object is another possible alternate object for the Type property. Examples:es:
©sideway ID: 130500013 Last Updated: 5/14/2013 Revision: 0 Ref: References
Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Reference 79 Computer Hardware 249 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 429 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