|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Deleting Directories from a path by reading information from Database columnsby tokpela (Chaplain) |
| on Dec 28, 2010 at 23:23 UTC ( [id://879531]=note: print w/replies, xml ) | Need Help?? |
|
Are you looking for a way to delete the directories using the Id directory using the "number" column and base directory (c:\Documents and Settings\user\Files)? If so, then check out remove_tree in the File::Path module. remove_tree( $dir1, $dir2, ...., \%opts ) The remove_tree function deletes the given directories and any files and subdirectories they might contain, much like the Unix command rm -r or del /s on Windows.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||