I tried :

#!/usr/bin/perl

my ($_path) = "c:/EventLogs/";
unlink <$_path/*> if -r $_path;

But it still not working, I have 2 files under the directory when I run this 
script they are always here?

Thanks.


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

Reply via email to