PDA

View Full Version : Number of files in a folder



rexzooly
04-30-2008, 04:26 PM
Hi i need to return the number of files in a folder and then use them in little
like the thumble pluging but its not going to be the thumble its going to be a custom viewer anyone got any ideas to do this?


thanks

longedge
04-30-2008, 04:36 PM
File.Find together with Table.Count will do it for you :)

RizlaUK
04-30-2008, 04:37 PM
use file find then count the table


tbFile=File.Find(bal, bla)
nFiles=Table.Count(tbFile)

EDIT, lol, got there b4 me

longedge
04-30-2008, 04:55 PM
I'm usually the one with the second post :D

rexzooly
04-30-2008, 04:58 PM
Thanks guys i will look in to this tomorrow as i am going to bed now little one again tomorrow thats 3 times arow this week :D YAY i like spedding time with my
little one anyway thanks :)