Snippets tagged searching

  • Enumerate files without permissions errors

    It's comparatively hard to enumerate files in a directory and subdirectories without getting exceptions for items you don't have permission to read. Here's a function which just ignores items you can't read and enumerates everything else. Useful for searching big network shares.

    4 people like this

    Posted: 11 years ago by Kit Eason