Get Subfolders and Files names

:confused: ok I started from Scratch … and getting the same message

but I keep reading the forum for my error and I found another instruction and is working …

Directory.GetFiles(pathFolder,“**.*”,SearchOption.AllDirectories) instead

Directory.GetFiles(pathFolder,SearchOption.AllDirectories) and is working

1 Like