# File Iterator not finding all instances on drive

**URL:** <https://www.finalbuilder.com/forums/t/file-iterator-not-finding-all-instances-on-drive/4643>\
**Category:** Bugs\
**Created:** [April 4, 2007, 1:04am UTC](https://www.finalbuilder.com/forums/t/file-iterator-not-finding-all-instances-on-drive/4643 "2007-04-04T01:04:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![buildmaster](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/d9b06d/32.png) [@buildmaster](https://www.finalbuilder.com/forums/u/buildmaster)\
**Post date:** [April 4, 2007, 1:04am UTC](https://www.finalbuilder.com/forums/t/file-iterator-not-finding-all-instances-on-drive/4643/1 "2007-04-04T01:04:53Z")

</div>

Here is an odd one for you.

I have written a little script to locate the 'srcsafe.ini' (SourceSafe) files located on our network drives. When I ran the script on one drive the action only found 6 but if I run a Dos command line call:-

dir srcsafe.ini /s /b

I get 9 reported. It is the last three that are missing. If repeat the same script pointing to another network drive both the action and the command line methods come back with the same number 61.

Any ideas.

Nigel &nbsp;

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [April 5, 2007, 1:27am UTC](https://www.finalbuilder.com/forums/t/file-iterator-not-finding-all-instances-on-drive/4643/2 "2007-04-05T01:27:41Z")

</div>

Hi Nigel,  
  
Do the missing 3 files (or their parent directories) have any special attributes? Did you check “include hidden and system files” on the File Iterator?  
  
If that doesn’t resolve it, would you be able to post (or email [support@finalbuilder.com](mailto:support@finalbuilder.com)) with the pathnames themselves?  
  
Regards,  
  
Angus

---

<div class="post-metadata">

**Author:** ![buildmaster](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/d9b06d/32.png) [@buildmaster](https://www.finalbuilder.com/forums/u/buildmaster)\
**Post date:** [April 5, 2007, 11:15am UTC](https://www.finalbuilder.com/forums/t/file-iterator-not-finding-all-instances-on-drive/4643/3 "2007-04-05T11:15:35Z")

</div>

Hi Angus,

The 'include hidden and system files' was checked. I'll send you the results of the test via e-mail along with a copy of the script to have a look at

Nigel

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [April 10, 2007, 1:17am UTC](https://www.finalbuilder.com/forums/t/file-iterator-not-finding-all-instances-on-drive/4643/4 "2007-04-10T01:17:07Z")

</div>

Received. Thanks very much, Nigel. I’ll reply to you via support very shortly.
