RE: deleting subdirectories only in Win32

2009-05-15 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Tony Esposito [mailto:tony1234567...@yahoo.co.uk] > Sent: Thursday, May 14, 2009 12:02 > To: beginners@perl.org > Subject: Fw: deleting subdirectories only in Win32 > > It appears that, after doing more research, the keep_root > va

Fw: deleting subdirectories only in Win32

2009-05-14 Thread Tony Esposito
but I was wondering if there was a '1-liner' like the one previously listed). - Forwarded Message From: Tony Esposito To: Beginners Perl Sent: Wednesday, 13 May, 2009 12:56:45 Subject: deleting subdirectories only in Win32 Hello,   When trying to delete subdirectories and t

deleting subdirectories only in Win32

2009-05-13 Thread Tony Esposito
Hello,   When trying to delete subdirectories and their files on WinXP SP3, the following code also removes the root directory of the subdirectories.  Can I get some assistance?  I want to keep C:\my\data intact but I am losing the \data folder # # Code to remove all files and subdirectories un