Filesystem

Element

Description

ChDir procedure

Changes the current directory

ChDrive procedure

Changes the current drive

CurDir function

Returns the current directory of a drive

Dir function

Returns the name of a file or directory matching a file specification and having particular file attributes

Directory.CreateDirectory method

Creates a new directory

Directory.Delete method

Deletes a directory

Directory.Exists method

Indicates whether a particular directory exists

Directory.GetCreationTime method

Retrieves the date and time the directory was created

Directory.GetDirectories method

Retrieves the names of the subdirectories of a given directory

Directory.GetDirectoryRoot method

Retrieves the name of the root directory of a given directory

Directory.GetFiles

Retrieves the names of the files in a given directory

Directory.GetFileSystemEntries method

Retrieves the names of filesystem objects (files and directories) in a given directory

Directory.GetParent method

Retrieves a DirectoryInfo object representing the parent of a specified directory

Directory.Move method

Moves a directory and its contents, including nested subdirectories, to a new location

File.Exists method

Indicates whether a specified file exists

FileCopy function

Copies a file

FileDateTime function

Returns the date and time of file creation or last access

GetAttr function

Returns the attributes of a given file or directory

Kill ...

Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.