FileSystem Methods

 

Namespace:   Microsoft.VisualBasic.FileIO
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCombinePath(String, String)

Combines two paths and returns a properly formatted path.

System_CAPS_pubmethodSystem_CAPS_staticCopyDirectory(String, String)

Copies the contents of a directory to another directory.

System_CAPS_pubmethodSystem_CAPS_staticCopyDirectory(String, String, Boolean)

Copies the contents of a directory to another directory.

System_CAPS_pubmethodSystem_CAPS_staticCopyDirectory(String, String, UIOption)

Copies the contents of a directory to another directory.

System_CAPS_pubmethodSystem_CAPS_staticCopyDirectory(String, String, UIOption, UICancelOption)

Copies the contents of a directory to another directory.

System_CAPS_pubmethodSystem_CAPS_staticCopyFile(String, String)

Copies a file to a new location.

System_CAPS_pubmethodSystem_CAPS_staticCopyFile(String, String, Boolean)

Copies a file to a new location.

System_CAPS_pubmethodSystem_CAPS_staticCopyFile(String, String, UIOption)

Copies a file to a new location.

System_CAPS_pubmethodSystem_CAPS_staticCopyFile(String, String, UIOption, UICancelOption)

Copies a file to a new location.

System_CAPS_pubmethodSystem_CAPS_staticCreateDirectory(String)

Creates a directory.

System_CAPS_pubmethodSystem_CAPS_staticDeleteDirectory(String, DeleteDirectoryOption)

Deletes a directory.

System_CAPS_pubmethodSystem_CAPS_staticDeleteDirectory(String, UIOption, RecycleOption)

Deletes a directory.

System_CAPS_pubmethodSystem_CAPS_staticDeleteDirectory(String, UIOption, RecycleOption, UICancelOption)

Deletes a directory.

System_CAPS_pubmethodSystem_CAPS_staticDeleteFile(String)

Deletes a file.

System_CAPS_pubmethodSystem_CAPS_staticDeleteFile(String, UIOption, RecycleOption)

Deletes a file.

System_CAPS_pubmethodSystem_CAPS_staticDeleteFile(String, UIOption, RecycleOption, UICancelOption)

Deletes a file.

System_CAPS_pubmethodSystem_CAPS_staticDirectoryExists(String)

Returns True if the specified directory exists.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFileExists(String)

Returns True if the specified file exists.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFindInFiles(String, String, Boolean, SearchOption)

Returns a read-only collection of strings representing the names of files containing the specified text.

System_CAPS_pubmethodSystem_CAPS_staticFindInFiles(String, String, Boolean, SearchOption, String[])

Returns a read-only collection of strings representing the names of files containing the specified text.

System_CAPS_pubmethodSystem_CAPS_staticGetDirectories(String)

Returns a collection of strings representing the path names of subdirectories within a directory.

System_CAPS_pubmethodSystem_CAPS_staticGetDirectories(String, SearchOption, String[])

Returns a collection of strings representing the path names of subdirectories within a directory.

System_CAPS_pubmethodSystem_CAPS_staticGetDirectoryInfo(String)

Returns a DirectoryInfo object for the specified path.

System_CAPS_pubmethodSystem_CAPS_staticGetDriveInfo(String)

Returns a DriveInfo object for the specified drive.

System_CAPS_pubmethodSystem_CAPS_staticGetFileInfo(String)

Returns a FileInfo object for the specified file.

System_CAPS_pubmethodSystem_CAPS_staticGetFiles(String)

Returns a read-only collection of strings representing the names of files within a directory.

System_CAPS_pubmethodSystem_CAPS_staticGetFiles(String, SearchOption, String[])

Returns a read-only collection of strings representing the names of files within a directory.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetName(String)

Parses the file name out of the path provided.

System_CAPS_pubmethodSystem_CAPS_staticGetParentPath(String)

Returns the parent path of the provided path.

System_CAPS_pubmethodSystem_CAPS_staticGetTempFileName()

Creates a uniquely named zero-byte temporary file on disk and returns the full path of that file.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticMoveDirectory(String, String)

Moves a directory from one location to another.

System_CAPS_pubmethodSystem_CAPS_staticMoveDirectory(String, String, Boolean)

Moves a directory from one location to another.

System_CAPS_pubmethodSystem_CAPS_staticMoveDirectory(String, String, UIOption)

Moves a directory from one location to another.

System_CAPS_pubmethodSystem_CAPS_staticMoveDirectory(String, String, UIOption, UICancelOption)

Moves a directory from one location to another.

System_CAPS_pubmethodSystem_CAPS_staticMoveFile(String, String)

Moves a file to a new location.

System_CAPS_pubmethodSystem_CAPS_staticMoveFile(String, String, Boolean)

Moves a file to a new location.

System_CAPS_pubmethodSystem_CAPS_staticMoveFile(String, String, UIOption)

Moves a file to a new location.

System_CAPS_pubmethodSystem_CAPS_staticMoveFile(String, String, UIOption, UICancelOption)

Moves a file to a new location.

System_CAPS_pubmethodSystem_CAPS_staticOpenTextFieldParser(String)

The OpenTextFieldParser method allows you to create a TextFieldParser object, which provides a way to easily and efficiently parse structured text files, such as logs. The TextFieldParser object can be used to read both delimited and fixed-width files.

System_CAPS_pubmethodSystem_CAPS_staticOpenTextFieldParser(String, Int32[])

The OpenTextFieldParser method allows you to create a TextFieldParser object, which provides a way to easily and efficiently parse structured text files, such as logs. The TextFieldParser object can be used to read both delimited and fixed-width files.

System_CAPS_pubmethodSystem_CAPS_staticOpenTextFieldParser(String, String[])

The OpenTextFieldParser method allows you to create a TextFieldParser object, which provides a way to easily and efficiently parse structured text files, such as logs. The TextFieldParser object can be used to read both delimited and fixed-width files.

System_CAPS_pubmethodSystem_CAPS_staticOpenTextFileReader(String)

Opens a StreamReader object to read from a file.

System_CAPS_pubmethodSystem_CAPS_staticOpenTextFileReader(String, Encoding)

Opens a StreamReader object to read from a file.

System_CAPS_pubmethodSystem_CAPS_staticOpenTextFileWriter(String, Boolean)

Opens a StreamWriter object to write to the specified file.

System_CAPS_pubmethodSystem_CAPS_staticOpenTextFileWriter(String, Boolean, Encoding)

Opens a StreamWriter to write to the specified file.

System_CAPS_pubmethodSystem_CAPS_staticReadAllBytes(String)

Returns the contents of a file as a byte array.

System_CAPS_pubmethodSystem_CAPS_staticReadAllText(String)

Returns the contents of a text file as a String.

System_CAPS_pubmethodSystem_CAPS_staticReadAllText(String, Encoding)

Returns the contents of a text file as a String.

System_CAPS_pubmethodSystem_CAPS_staticRenameDirectory(String, String)

Renames a directory.

System_CAPS_pubmethodSystem_CAPS_staticRenameFile(String, String)

Renames a file.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticWriteAllBytes(String, Byte[], Boolean)

Writes data to a binary file.

System_CAPS_pubmethodSystem_CAPS_staticWriteAllText(String, String, Boolean)

Writes text to a file.

System_CAPS_pubmethodSystem_CAPS_staticWriteAllText(String, String, Boolean, Encoding)

Writes text to a file.

Return to top
Show: