in reply to Reading file from the directory

And then what happened? See Re: After listing the folder in a directoy, i unable to zip the folders by using system command., perlintro, The Perl Monks Guide to the Monastery