DIR_MakeAll

<< Click to Display Table of Contents >>

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

DIR_MakeAll

 

Description

 

Create a subdirectory/folder and all intermediate folders.

 

Syntax

 

n = DIR_MakeAll(Path)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

Path

String

No

Full path.

 

Remarks

 

If any folder/sub-folder in the specified Path doesn't exist, it will be created.
This is the difference from Dir_Make, which generates error in such a situation.

 

Restrictions

 

See also

 

File Module, DIR_Make,  

 

Examples