Hi,

I am trying to delete zero byte files using the following code:

for ($i=0; $i<[EMAIL PROTECTED];$i++) {
                $filelst[$i] =~ s/\s//;
 
                #Process creates zero byte file if nothing was found in 
the mailbox
                #Hence delete zero byte files
                if ( -z "$indir\\${filelst[$i]}" )
                {
                        print " $indir\\$filelst[$i] \n";  
                        unlink <"$indir\\$filelst[$i]">;
                        next;
                }..................

But for some reason I got the following message running it on a windows 
machine.
perlglob' is not recognized as an internal or external 
command.............

How do I fix this. Actually I am running this from a windows mapped drive 
and have limited access to this system.


Regards,
Satya

Reply via email to