MkDir

Description

Creates a new directory.

Syntax

ret = MkDir (DirString)

Parameters

ret

Integer,output

 

0 = OK

 

Non zero = Error

 

 

DirString

String, input

 

The string that contains the name of the directory to make.

Remarks

This is a PASSPORT command. This command is a Visual Basic command but is not implemented by VBScript.

Example

Sub ZMain()
MkDir "C:\Temp"
End Sub