Make_Directory

See Also: File_Exist, Get_Directory, Make_Temp_File, Remove_Directory, Set_Directory, Valid_Drive

Purpose

To create a new disk folder.

Syntax

Make_Directory {folder}

What It Does

Make_Directory creates a new folder, as specified in the {folder} argument.

Example

In this example, a new folder named data will be created inside the existing folder named accounting on the H: drive.

Make_Directory "h:\accounting\data"

In this example, a new folder will be created as specified in the value of the variable sFolder.

String sFolder

Move "C:\MyProject\Temp" to sFolder

Make_Directory sFolder

Notes