InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml)ASP.NetDocument Object Model (DOM)JavaScript Server-Side VBScriptVBScript Basic ElementVBScript OperatorVBScript StatementVBScript FunctionVBScript Object VBScript Object Element VBScript Object MethodDictionary Method Draft for Information Only
ContentVBScript Methods of FSO Object
VBScript Methods of FSO ObjectSome typical predefined Elements are.
GetAbsolutePathName Methodis to return a complete and unambiguous absolute path name from given pathspec path. Syntaxfsoobjvar.GetAbsolutePathName(pathspec) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetAbsolutePathNameRequired Keyword. to specify the Method of associated Object.folderspecRequired. Path specification to change to a complete and unambiguous path.Remark
Applied toFileSystemObject ObjectGetBaseName Methodis to return a string containing the base name of the last component, less any file extension, in given path. Syntaxfsoobjvar.GetBaseName(path) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetBaseNameRequired Keyword. to specify the Method of associated Object.pathRequired. The path specification for the component whose base name is to be returned.Remark
Applied toFileSystemObject ObjectGetDrive Methodis to return a Drive object according to the drive component of the given drivespec. Syntaxfsoobjvar.GetDrive ( drivespec ) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetDriveRequired Keyword. to specify the Method of associated Object.drivespecRequired. The drivespec argument can be a drive letter (c), a drive letter with a colon appended (cRemark
Applied toFileSystemObject ObjectGetDriveName Methodis to return a string containing the drive name of drive component of the given path. Syntaxfsoobjvar.GetDriveName(path) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetDriveNameRequired Keyword. to specify the Method of associated Object.pathRequired. The path specification for the component whose drive name is to be returned.Remark
Applied toFileSystemObject ObjectGetExtensionName Methodis to return the file extension of the last file component of the given path Syntaxfsoobjvar.GetExtensionName(path) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetExtensionNameRequired Keyword. to specify the Method of associated Object.pathRequired. The path of the component whose extension is to be returned.Remark
Applied toFileSystemObject ObjectGetFile Methodis to return a File Object according to the file of given filespec path. Syntaxfsoobjvar.GetFile(filespec) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetFileRequired Keyword. to specify the Method of associated Object.filespecRequired. The filespec is the path (absolute or relative) to a specific file.Remark
Applied toFileSystemObject ObjectGetFileVersion Methodis to return the version number of a file component according to the last component of given pathspec path. Syntaxfsoobjvar.GetFileVersion(pathspec) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetFileVersionRequired Keyword. to specify the Method of associated Object.pathspecRequired. The path (absolute or relative) to a specific file.Remark
Applied toFileSystemObject ObjectGetFileName Methodis to return the file namer of a file component according to the last component of given pathspec path. Syntaxfsoobjvar.GetFileName(pathspec) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetFileNameRequired Keyword. to specify the Method of associated Object.pathspecRequired. The path (absolute or relative) to a specific file.Remark
Applied toFileSystemObject ObjectGetFolder Methodis to return a Folder object according to the given folderspec path. Syntaxfsoobjvar.GetFolder(folderspec) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetFolderRequired Keyword. to specify the Method of associated Object.folderspecRequired. The folderspec is the path (absolute or relative) to a specific folder.Remark
Applied toFileSystemObject ObjectGetParentFolderName Methodis to return a string containing the name of the parent folder of the last component in a given path. Syntaxfsoobjvar.GetParentFolderName(path) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetParentFolderNameRequired Keyword. to specify the Method of associated Object.pathRequired. The path specification for the component whose parent folder name is to be returned.Remark
Applied toFileSystemObject ObjectGetSpecialFolder Methodis to return a special Folder Object according to the given folderspec. Syntaxfsoobjvar.GetSpecialFolder(folderspec) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetSpecialFolderRequired Keyword. to specify the Method of associated Object.folderspecRequired Setting. The name of the special folder to be returned. Can be any of the constants shown in the Settings section.Settingfolderspec argument: ConstantValueDescriptionWindowsFolder0The Windows folder contains files installed by the Windows operating system.SystemFolder1The System folder contains libraries, fonts, and device drivers.TemporaryFolder2The Temp folder is used to store temporary files. Its path is found in the TMP environment variable. Applied toFileSystemObject ObjectGetStandardStream Methodis to return a standard TextStream Object according to the given standardStreamType setting and specified optional unicode setting. Syntaxfsoobjvar.GetStandardStream(standardStreamType [, unicode ]) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetStandardStreamRequired Keyword. to specify the Method of associated Object.standardStreamTypeRequired. Can be one of three constantsunicodeOptional. Boolean value that indicates whether the file is created as a Unicode or ASCII file. The value is true if the file is created as a Unicode file, false if it is created as an ASCII file. If omitted, an ASCII file is assumed.SettingstandardStreamType argument: ConstantValueDescriptionStdIn0Returns a TextStream object corresponding to the standard input stream.StdOut1Returns a TextStream object corresponding to the standard output stream.StdErr2Returns a TextStream object corresponding to the standard error stream. Applied toFileSystemObject ObjectGetTempName Methodis to generate and return a randomly generated temporary file or folder name for performing operations that require a temporary file or folder. Syntaxfsoobjvar.GetTempName ( ) ArgumentfsoobjvarRequired. to specify the associated Object instance reference.GetTempNameRequired Keyword. to specify the Method of associated Object.Remark
Applied toFileSystemObject Object©sideway ID: 180500024 Last Updated: 5/24/2018 Revision: 0 Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 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-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019