rrmdir.mBack to Contents<< Prev |  Next >> 

rrmdir
Delete a series of directories.

Description
rrmdir dir_name  deletes the named directories. Wildcards may be used 
in the directory name and in the intermediate pathnames, contrarily 
to RMDIR. Brackets ([]) may also be used (see expandstr). 
 
Use the functional form of rrmdir, such as rrmdir('dir'), when the 
directory names are stored in a string or a cell array of strings. 
 
The syntax is the same as for Matlab's RMDIR. In particular, the 
additional input and output arguments of RMDIR can be used, i.e. 
[SUCCESS,MESSAGE,MESSAGEID] = rrmdir(DIRECTORY,MODE). See RMDIR for 
details. 
 
To delete files, see rdelete. 
 
Examples: 
   rrmdir('mydir*') deletes all the directories 'mydir*' 
 
   rrmdir('mydir*/sub[1:10,2]') deletes the subdirectories 'sub01', 
   'sub02',... in each directory mydir*. 
 
F. Moisy 
Revision: 1.01,  Date: 2005/10/14. 
 
See Also
RMDIR, expandstr, rdir, rdelete, DELETE. 

 Previous: rotatefNext: shiftf 

Help file generated by m2html 1.06