--- In nsbasic...@yahoogroups.com, "grot1001" <grot1...@...> wrote:
>
> Would anyone care to share a code snippet that counts the number of files in 
> a folder?
> 

You need something along these lines:

  Folder="\Program Files\......."   (make it your folder)
  Count=0
  TempFile=Filesystem.dir(Folder+"/*")
  While Tempfile<>"" 
    Count=Count+1
    TempFile=Filesystem.dir()
  Wend

Al


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to