To get a list of files I am using
Dim files = Directory.EnumerateFiles(Path, "*.*", SearchOption.AllDirectories)
This fails when it hits a folder that if does not have access to. I can trap the error bit I need to note the folder that failed and continue.
Please can someone advise the correct code to do this?