> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> John Deretich
> Sent: Wednesday, November 12, 2003 1:56 PM
> To: Perl-Win32-Admin-Request (E-mail)
> Subject: removing nonempty directories
>
>
> Hello,
>
> I just wanted to find out if anyone knows how to remove a
> non empty directory. Say for example, J:\test\test1.....
> just remove only test1 and any subdirectories below it,
> not the entire contents of the J: Drive.
>
>
> thanks,
>
> John
use File::Path;
rmtree("path/to/rm", 0, 1);
See ....Perl\html\lib\File\Path.html
-Lynn.
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs