Re: file::find



> I`m trying to count files on
> drive using file::find module with latest activestate perl build. I want to
> achieve same result like running command "dir /S" from the root, e.g f:\dir
> /S. Problem is that my script returns less files like dir command.

'dir /s' will output many lines that are not files. Amongst others all
directories are listet. You only counted real files (with the help of
'-f'). Try

dir /s /b /a-d

for better comparison.

.



Relevant Pages