When I run your script in linux it correctly gives me the number of files in the directory: hidden+visible. are there hidden files such as . (current directory) and .. in windows? My guess would be there are hidden files you are missing
In reply to Re: count file in directory
by Anonymous Monk
in thread count file in directory
by joaase
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |