Table of contents
TOC
Collapse the table of content
Expand the table of content

MkDir Statement

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Creates a new directory or folder.

Syntax

MkDirpath

The required pathargument is astring expression that identifies the directory or folder to be created. The path may include the drive. If no drive is specified, MkDir creates the new directory or folder on the current drive.

Example

This example uses the MkDir statement to create a directory or folder. If the drive is not specified, the new directory or folder is created on the current drive.

MkDir "MYDIR" ' Make new directory or folder. 
© 2017 Microsoft