Link:http://output.to/sideway/default.asp?qno=130500004 ShortName / ShortPath / Type / Attributes, Folder Object, ASP Server Component, Built-in Function Folder ObjectOne key function of FileSystemObject Component is the manipulation of folders of the file system. FolderObject.ShortName PropertyFolderObject.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 folder object instance. Syntax:FolderObjectName.ShortName Or in VBScript. Imply foldershortname =FolderObjectName.ShortName Or in JScript. Imply foldershortname =FolderObjectName.ShortName Parameters:foldershortname The parameter "foldershortname" is the name assigned to the string returned by the ShortName 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 ShortName property is the string of the 8.3 naming convention of a 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 ShortName property. Examples:
FolderObject.ShortPath PropertyFolderObject.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 folder object instance. Syntax:FolderObjectName.ShortPath Or in VBScript. Imply foldershortpath =FolderObjectName.ShortPath Or in JScript. Imply foldershortpath =FolderObjectName.ShortPath Parameters:foldershortpath The parameter "foldershortpath" is the name assigned to the string returned by the ShortName 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 ShortPath property is the string of the 8.3 naming convention of the path refered to the specified folder object instance. Remarks:FolderObjectName refers to a Folder Object. And File object is another possible alternate object for the ShortPath property. Examples:
FolderObject.Type PropertyFolderObject.Type property is a property to get and return the information type of the specified folder object instance. Syntax:FolderObjectName.Type Or in VBScript. Imply foldertype =FolderObjectName.Type Or in JScript. Imply foldertype =FolderObjectName.Type Parameters:foldertype The parameter "foldertype" is the name assigned to the string returned by the Type 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 Type property is the string of the information type of the specified folder object instance. Remarks:FolderObjectName refers to a Folder Object. And File object is another possible alternate object for the Type property. Examples:
FolderObject.Attributes PropertyFolderObject.Attributes property for folder object is a read/write or read-only property depending on the attribute to set and return the attributes of the specified object instance. Syntax:FolderObjectName.Attributes [=newattributes] Or in VBScript. Imply folderattributes =FolderObjectName.Attributes FolderObjectName.Attributes =newattributes Or in JScript. Imply folderattributes =FolderObjectName.Attributes FolderObjectName.Attributes =newattributes Parameters:folderattributes The parameter "folderattributes" is the name assigned to the string returned by the Attributes 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. newattributes The optional parameter "newattributes" is used to specify the new attributes to be assigned by the Attributes property to the specified Folder object. Returns:bitwise value The return value of the Attributes property is the logical combination of the bitwise the attribute values of the specified folder object instance. The possible bitwise values of the single entry of attributes for any logical combination are.
Remarks:FolderObjectName refers to a Folder Object. And File object is another possible alternate object for the Attributes property. Examples:
|
Sideway BICK Blog 09/05 |