Section A.11. File System


A.11. File System

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 Class

Encapsulates various features related to file system directory information

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 Method

Retrieves the names of the files in a given directory

Directory.GetFileSystemEntries Method

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

Directory.GetLogicalDrives Method

Retrieves the set of logical drives available on the local system

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 Class

Encapsulates various features related to file system file information

File.Exists Method

Indicates whether a specified file exists

FileCopy Procedure

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 Procedure

Deletes one or more files

MkDir Procedure

Creates a new directory

Rename Procedure

Renames a file or directory

RmDir Procedure

Removes a directory

SetAttr Procedure

Sets a file or directory's attributes





Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net