Hi, I wanted to delete all files under a directory but not the directory 
I tried this:
my ($_path) = "c:/EventLogs/";
unlink $_path if -r $_path;

But it didn't delete teh files which are under the directory Eventslogs
Why?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to