RMDIR

RMDIR

Top  Previous  Next

Action

This statement removes the specified directory.

 

 

Syntax

RMDIR directory

 

 

Remarks

RMDIR (ReMove DIRectory) removes the specified directory or folder.

The folder must exist. You may not use a path.

While KILL is used to remove files, RMDIR is used to remove directories.

You should remove all files before you remove the directory.

 

 

See also

INITFILESYSTEM , OPEN , CLOSE, FLUSH , PRINT, LINE INPUT, LOC, LOF , EOF , FREEFILE , FILEATTR , SEEK , BSAVE , BLOAD , KILL , DISKFREE , DISKSIZE , GET , PUT, FILELEN , FILEDATE , FILETIME , FILEDATETIME , WRITE , INPUT , DIR, MKDIR, CHDIR , NAME

 

 

 

Example

RMDIR "abc"