Graham
JavaExperts Thats just what the script does !!!
it returns the total of all the files in all the sub folders inside the main folder
same script turned into a function
http://syntax.xtgem.com/manual/basics/xtscripts/default?func=sub_folders_file_count