logo
Home XtGem- Templates- XtScript- bottom
Count the files in sub folders
This script assumes that all that is in /main is sub folders and a index file
And all the sub folders contain only the files being counted and a index file
if the sub folders do not contain a index file change the maths to
var $total=($total+$subc)
Beware of timeouts on very large main folders and sub folders
Show as text
Show as text
Reload

The sub folders in /main/ contain 14 files in total
Powered by XtGem
About us Contact Forum topÂ