File, Directory, and Drive Properties in Visual Basic
This section contains topics about getting and setting file, directory, and drive properties.
This section contains topics about getting and setting file, directory, and drive properties.
Demonstrates how to get information, such as last access time, about a file.
Demonstrates how to determine the absolute path of a file.
Demonstrates how to determine the extension of a file.
Demonstrates how to determine the last time a file was accessed.
Demonstrates how to determine the last time a file was modified.
Demonstrates how to determine a file's size in bytes.
Demonstrates how to determine when a file was created.
Demonstrates how to determine if a file is hidden.
Demonstrates how to determine if a file is read-only.
Demonstrates how to determine a file's attributes.
Demonstrates how to determine when a directory was created.
Demonstrates how to determine whether a directory is read-only.
Demonstrates how to determine a directory's attributes.
Demonstrates how to determine whether a file exists.
Demonstrates how to determine whether a directory exists.
Demonstrates how to determine a drive's volume label.
Demonstrates how to determine a drive's file-system type.
Demonstrates how to determine a drive's type.
Demonstrates how to determine a drive's total space.
Demonstrates how to determine a drive's physical free space.
Demonstrates how to determine a drive's root directory.
Demonstrates how to determine the location of the Windows System directory.
Describes the My.Computer.FileSystem object and its methods and properties.
Describes the DirectoryExists method.
Describes the FileExists method.
Describes the GetDirectoryInfo method.
Describes the GetFileInfo method.
Describes the GetParentPath method.
Describes the FileInfo object.
Describes the DirectoryInfo object.
Describes the FileAttributes enumeration.
Lists tasks involving writing to files.
Lists tasks involving reading from files.
Lists tasks involving creating, deleting, and moving directories and files.