• About this Sample
  • Microsoft Scripting Runtime
    • Overview
    • Objects
      • Dictionary Collection
        • Overview
        • Members
        • Methods
          • Add Method
          • Exists Method
          • Items Method
          • Keys Method
          • Remove Method
          • RemoveAll Method
        • Properties
          • CompareMode Property
          • Count Property
          • Item Property
          • Key Property
      • Drive Object
        • Overview
        • Members
        • Properties
          • AvailableSpace Property
          • DriveLetter Property
          • DriveType Property
          • FileSystem Property
          • FreeSpace Property
          • IsReady Property
          • Path Property
          • RootFolder Property
          • SerialNumber Property
          • ShareName Property
          • TotalSize Property
          • VolumeName Property
      • Drives Collection
        • Overview
        • Members
        • Properties
          • Count Property
          • Item Property
      • Encoder Object
        • Overview
        • Members
        • Methods
          • EncodeScriptFile Method
      • File Object
        • Overview
        • Members
        • Methods
          • Copy Method
          • Delete Method
          • Move Method
          • OpenAsTextStream Method
        • Properties
          • Attributes Property
          • DateCreated Property
          • DateLastAccessed Property
          • DateLastModified Property
          • Drive Property
          • Name Property
          • ParentFolder Property
          • Path Property
          • ShortName Property
          • ShortPath Property
          • Size Property
          • Type Property
      • Files Collection
        • Overview
        • Members
        • Properties
          • Count Property
          • Item Property
      • FileSystemObject Object
        • Overview
        • Members
        • Methods
          • BuildPath Method
          • CopyFile Method
          • CopyFolder Method
          • CreateFolder Method
          • CreateTextFile Method
          • DeleteFile Method
          • DeleteFolder Method
          • DriveExists Method
          • FileExists Method
          • FolderExists Method
          • GetAbsolutePathName Method
          • GetBaseName Method
          • GetDrive Method
          • GetDriveName Method
          • GetExtensionName Method
          • GetFile Method
          • GetFileName Method
          • GetFileVersion Method
          • GetFolder Method
          • GetParentFolderName Method
          • GetSpecialFolder Method
          • GetStandardStream Method
          • GetTempName Method
          • MoveFile Method
          • MoveFolder Method
          • OpenTextFile Method
        • Properties
          • Drives Property
      • Folder Object
        • Overview
        • Members
        • Methods
          • Copy Method
          • CreateTextFile Method
          • Delete Method
          • Move Method
        • Properties
          • Attributes Property
          • DateCreated Property
          • DateLastAccessed Property
          • DateLastModified Property
          • Drive Property
          • Files Property
          • IsRootFolder Property
          • Name Property
          • ParentFolder Property
          • Path Property
          • ShortName Property
          • ShortPath Property
          • Size Property
          • SubFolders Property
          • Type Property
      • Folders Collection
        • Overview
        • Members
        • Methods
          • Add Method
        • Properties
          • Count Property
          • Item Property
      • IFileSystem3 Object
        • Overview
        • Members
        • Methods
          • BuildPath Method
          • CopyFile Method
          • CopyFolder Method
          • CreateFolder Method
          • CreateTextFile Method
          • DeleteFile Method
          • DeleteFolder Method
          • DriveExists Method
          • FileExists Method
          • FolderExists Method
          • GetAbsolutePathName Method
          • GetBaseName Method
          • GetDrive Method
          • GetDriveName Method
          • GetExtensionName Method
          • GetFile Method
          • GetFileName Method
          • GetFileVersion Method
          • GetFolder Method
          • GetParentFolderName Method
          • GetSpecialFolder Method
          • GetStandardStream Method
          • GetTempName Method
          • MoveFile Method
          • MoveFolder Method
          • OpenTextFile Method
        • Properties
          • Drives Property
      • IScriptEncoder Object
        • Overview
        • Members
        • Methods
          • EncodeScriptFile Method
      • TextStream Object
        • Overview
        • Members
        • Methods
          • Close Method
          • Read Method
          • ReadAll Method
          • ReadLine Method
          • Skip Method
          • SkipLine Method
          • Write Method
          • WriteBlankLines Method
          • WriteLine Method
        • Properties
          • AtEndOfLine Property
          • AtEndOfStream Property
          • Column Property
          • Line Property
    • Methods
      • Add Method (Folders)
      • Add Method (Dictionary)
      • BuildPath Method (FileSystemObject)
      • BuildPath Method (IFileSystem3)
      • Close Method
      • Copy Method (Folder)
      • Copy Method (File)
      • CopyFile Method (FileSystemObject)
      • CopyFile Method (IFileSystem3)
      • CopyFolder Method (FileSystemObject)
      • CopyFolder Method (IFileSystem3)
      • CreateFolder Method (FileSystemObject)
      • CreateFolder Method (IFileSystem3)
      • CreateTextFile Method (FileSystemObject)
      • CreateTextFile Method (IFileSystem3)
      • CreateTextFile Method (Folder)
      • Delete Method (Folder)
      • Delete Method (File)
      • DeleteFile Method (FileSystemObject)
      • DeleteFile Method (IFileSystem3)
      • DeleteFolder Method (FileSystemObject)
      • DeleteFolder Method (IFileSystem3)
      • DriveExists Method (FileSystemObject)
      • DriveExists Method (IFileSystem3)
      • EncodeScriptFile Method (Encoder)
      • EncodeScriptFile Method (IScriptEncoder)
      • Exists Method
      • FileExists Method (FileSystemObject)
      • FileExists Method (IFileSystem3)
      • FolderExists Method (FileSystemObject)
      • FolderExists Method (IFileSystem3)
      • GetAbsolutePathName Method (FileSystemObject)
      • GetAbsolutePathName Method (IFileSystem3)
      • GetBaseName Method (FileSystemObject)
      • GetBaseName Method (IFileSystem3)
      • GetDrive Method (FileSystemObject)
      • GetDrive Method (IFileSystem3)
      • GetDriveName Method (FileSystemObject)
      • GetDriveName Method (IFileSystem3)
      • GetExtensionName Method (FileSystemObject)
      • GetExtensionName Method (IFileSystem3)
      • GetFile Method (FileSystemObject)
      • GetFile Method (IFileSystem3)
      • GetFileName Method (FileSystemObject)
      • GetFileName Method (IFileSystem3)
      • GetFileVersion Method (FileSystemObject)
      • GetFileVersion Method (IFileSystem3)
      • GetFolder Method (FileSystemObject)
      • GetFolder Method (IFileSystem3)
      • GetParentFolderName Method (FileSystemObject)
      • GetParentFolderName Method (IFileSystem3)
      • GetSpecialFolder Method (FileSystemObject)
      • GetSpecialFolder Method (IFileSystem3)
      • GetStandardStream Method (FileSystemObject)
      • GetStandardStream Method (IFileSystem3)
      • GetTempName Method (FileSystemObject)
      • GetTempName Method (IFileSystem3)
      • Items Method
      • Keys Method
      • Move Method (Folder)
      • Move Method (File)
      • MoveFile Method (FileSystemObject)
      • MoveFile Method (IFileSystem3)
      • MoveFolder Method (FileSystemObject)
      • MoveFolder Method (IFileSystem3)
      • OpenAsTextStream Method
      • OpenTextFile Method (FileSystemObject)
      • OpenTextFile Method (IFileSystem3)
      • Read Method
      • ReadAll Method
      • ReadLine Method
      • Remove Method
      • RemoveAll Method
      • Skip Method
      • SkipLine Method
      • Write Method
      • WriteBlankLines Method
      • WriteLine Method
    • Properties
      • AtEndOfLine Property
      • AtEndOfStream Property
      • Attributes Property (Folder)
      • Attributes Property (File)
      • AvailableSpace Property
      • Column Property
      • CompareMode Property
      • Count Property (Drives)
      • Count Property (Folders)
      • Count Property (Files)
      • Count Property (Dictionary)
      • DateCreated Property (Folder)
      • DateCreated Property (File)
      • DateLastAccessed Property (Folder)
      • DateLastAccessed Property (File)
      • DateLastModified Property (Folder)
      • DateLastModified Property (File)
      • Drive Property (Folder)
      • Drive Property (File)
      • DriveLetter Property
      • Drives Property (FileSystemObject)
      • Drives Property (IFileSystem3)
      • DriveType Property
      • Files Property
      • FileSystem Property
      • FreeSpace Property
      • IsReady Property
      • IsRootFolder Property
      • Item Property (Drives)
      • Item Property (Folders)
      • Item Property (Files)
      • Item Property (Dictionary)
      • Key Property
      • Line Property
      • Name Property (Folder)
      • Name Property (File)
      • ParentFolder Property (Folder)
      • ParentFolder Property (File)
      • Path Property (Drive)
      • Path Property (Folder)
      • Path Property (File)
      • RootFolder Property
      • SerialNumber Property
      • ShareName Property
      • ShortName Property (Folder)
      • ShortName Property (File)
      • ShortPath Property (Folder)
      • ShortPath Property (File)
      • Size Property (Folder)
      • Size Property (File)
      • SubFolders Property
      • TotalSize Property
      • Type Property (Folder)
      • Type Property (File)
      • VolumeName Property
    • Enumerations
      • CompareMethod Enumeration
      • DriveTypeConst Enumeration
      • FileAttribute Enumeration
      • IOMode Enumeration
      • SpecialFolderConst Enumeration
      • StandardStreamTypes Enumeration
      • Tristate Enumeration