DIR_Remove

<< Click to Display Table of Contents >>

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

DIR_Remove

 

Description

 

Delete a disk directory.

 

Syntax

 

n = DIR_Remove(Path)

 

Returns

 

Number.

0 = no error.

 

Parameters

 

Name

Type

Optional

Meaning

Path

String

No

Full path.

 

Remarks

 

This statement works like the OS RMDIR or RD commands.  As with the OS commands, the path must specify a valid, empty directory, other than the default (current) directory.

 

Restrictions

 

See also

 

File Module,

 

Examples