We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

My.Computer.FileSystem Object

Provides properties and methods for working with drives, files, and directories.

For information about the methods and properties of the My.Computer.FileSystem object, see FileSystem.

For more information, see File Access with Visual Basic.


You can also use classes in the System.IO namespace to work with drives, files, and directories.

Namespace: Microsoft.VisualBasic.MyServices

Class: FileSystemProxy (provides access to FileSystem)

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)