MkDir

This method creates a new directory.

Syntax

filesystem.MkDir PathName

Parameters

filesystem
Reference to a FileSystem control.
Pathname
String expression that contains the directory name.

Return Value

None.

Remarks

MkDir generates an error if the directory already exists.