Navigation:  thinBasic Modules > File >

DIR_Remove

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com