Rmdir

Deletes a directory within the memory card.

Rmdir <Directory Path Name>

Parameters
<Directory Path Name>
The path of the directory to be deleted (character string).

Return Value
None.

Description
Always specify an absolute path with the drive name included for the <Directory Path Name>.
The directory will not be deleted in the cases stated below.
The directory specified for deletion does not exist.
No Memory Card has been attached.
When there are 1 or more files in the directory.

Example
Delete the Drive C "IMAGE2" directory.
      Rmdir "C:\IMAGE2"