Skip to main content
Navigator | Tier 3
March 9, 2022
Question

Does anyone ever receive this error when looping through a folder?

  • March 9, 2022
  • 2 replies
  • 133 views

I loop through a about a dozen files within a folder on a daily basis. Every so often I'll receive this error showing I am trying to open a file named "thumbs" but there is in fact not file with that name. Anyone experiencing a similar issue? If so, how did you work around it?

 

It's really not a big deal considering I have error handling in place and it will continue with the next iteration of the loop. Just want to know if this is easily fixable.

 

Thanks in advance!

 

 

Thumbs Error 

    2 replies

    Ashwin A.K
    Navigator | Tier 3
    March 9, 2022

    Hi @Steven chev​ ,

     

    Its an odd issue, but what you can do is add an If Command to check if the Filename contains "Thumbs" and if so just continue, by leaving that If block blank.

     

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    Navigator | Tier 3
    March 9, 2022

    That's probably a hidden file that you're getting when viewing files in the folder using the icons/thumbnails. Like the previous post, just skip it when you come across it.