Export (0) Print
Expand All
Expand Minimize

File, Directory, and Drive Properties in Visual Basic

This section contains topics about getting and setting file, directory, and drive properties.

How to: Get Information About a File in Visual Basic

Demonstrates how to get information, such as last access time, about a file.

How to: Determine the Absolute Path of a File in Visual Basic

Demonstrates how to determine the absolute path of a file.

How to: Determine a File's Extension in Visual Basic

Demonstrates how to determine the extension of a file.

How to: Determine a File's Last Accessed Time in Visual Basic

Demonstrates how to determine the last time a file was accessed.

How to: Determine a File's Last Modified Time in Visual Basic

Demonstrates how to determine the last time a file was modified.

How to: Determine a File's Size in Visual Basic

Demonstrates how to determine a file's size in bytes.

How to: Determine a File's Creation Time in Visual Basic

Demonstrates how to determine when a file was created.

How to: Determine if a File is Hidden in Visual Basic

Demonstrates how to determine if a file is hidden.

How to: Determine if a File is Read-only in Visual Basic

Demonstrates how to determine if a file is read-only.

How to: Determine a File's Attributes in Visual Basic

Demonstrates how to determine a file's attributes.

How to: Determine a Directory's Creation Time in Visual Basic

Demonstrates how to determine when a directory was created.

How to: Determine if a Directory is Read-Only in Visual Basic

Demonstrates how to determine whether a directory is read-only.

How to: Determine a Directory's Attributes in Visual Basic

Demonstrates how to determine a directory's attributes.

How to: Determine if a File Exists in Visual Basic

Demonstrates how to determine whether a file exists.

How to: Determine if a Directory Exists in Visual Basic

Demonstrates how to determine whether a directory exists.

How to: Determine a Drive's Volume Label in Visual Basic

Demonstrates how to determine a drive's volume label.

How to: Determine a Drive's Format in Visual Basic

Demonstrates how to determine a drive's file-system type.

How to: Determine a Drive's Type in Visual Basic

Demonstrates how to determine a drive's type.

How to: Determine a Drive's Total Space in Visual Basic

Demonstrates how to determine a drive's total space.

How to: Determine a Drive's Physical Free Space in Visual Basic

Demonstrates how to determine a drive's physical free space.

How to: Determine a Drive's Root Directory in Visual Basic

Demonstrates how to determine a drive's root directory.

How to: Determine the Windows System Directory in Visual Basic

Demonstrates how to determine the location of the Windows System directory.

FileSystem

Describes the My.Computer.FileSystem object and its methods and properties.

DirectoryExists

Describes the DirectoryExists method.

FileExists

Describes the FileExists method.

GetDirectoryInfo

Describes the GetDirectoryInfo method.

GetFileInfo

Describes the GetFileInfo method.

GetParentPath

Describes the GetParentPath method.

Term

Definition

FileInfo

Describes the FileInfo object.

DirectoryInfo

Describes the DirectoryInfo object.

FileAttributes

Describes the FileAttributes enumeration.

Writing to Files in Visual Basic

Lists tasks involving writing to files.

Reading from Files in Visual Basic

Lists tasks involving reading from files.

Creating, Deleting, and Moving Files and Directories in Visual Basic

Lists tasks involving creating, deleting, and moving directories and files.

Community Additions

ADD
Show:
© 2014 Microsoft