Navigation:  ThinBASIC Modules > File >

DIR_Make

Previous pageReturn to chapter overviewNext page

 

Description

 

Create a subdirectory/folder.

 

Syntax

 

n = DIR_Make(Path)

 

Returns

 

Number.

0 = no error

 

Parameters

 

Name

Type

Optional

Meaning

Path

String

No

Full path

 

Remarks

 

If Path includes a parent folder that does not exist, an error 76 is returned.

If you try to create a directory that already exists, an error 75 is returned.

 

Restrictions

 

See also

 

File Module, DIR_MakeAll,

 

Examples