MkDir Procedure


MkDir Procedure

Class

Microsoft.VisualBasic.FileSystem

Syntax

     MkDir  (path) 


path (required; String)

The name of the directory to be created

Description

The MkDir procedure creates a new directory on a drive.

Usage at a Glance

  • path can be a relative or absolute path, either of a new local or remote directory.

  • An error occurs if the specified directory already exists.

  • MkDir does not automatically make the new directory the current working (default) directory.

Version Differences

Visual Basic 2005 includes a My.Computer.FileSystem.CreateDirectory method that provides similar functionality.

See Also

RmDir Procedure




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