DIR_Make

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > File > DIR: functions working on directories >

DIR_Make

 

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