The FileSystem object is based on Microsoft.VisualBasic.FileIO and includes the following methods:


FileSystem.CombinePath

FileSystem.CopyDirectory

FileSystem.CopyFile

FileSystem.CreateDirectory

FileSystem.DeleteDirectory

FileSystem.DeleteFile

FileSystem.DirectoryExists

FileSystem.FileExists

FileSystem.FindInFiles

FileSystem.GetDirectories

FileSystem.GetDirectoryInfo

FileSystem.GetDriveInfo

FileSystem.GetFileInfo

FileSystem.GetFiles

FileSystem.GetName

FileSystem.GetParentPath

FileSystem.GetTempFileName

FileSystem.MoveDirectory

FileSystem.MoveFile

FileSystem.OpenTextFileReader

FileSystem.OpenTextFileWriter

FileSystem.ReadAllBytes

FileSystem.ReadAllText

FileSystem.RenameDirectory

FileSystem.RenameFile

FileSystem.WriteAllBytes

FileSystem.WriteAllText


Note: the FileSystem object identifier is optional and can be omitted, for example:


Sub Main()

MsgBox CombinePath("C:\Dir1\Dir2\Dir3", "..\Dir4\Dir5\File.txt")

End Sub