GetDirectory is not returning SubFolder

Hi,

I am having a problem using GetDirectory. I have multiple subfolders within a folder that I want to loop through in order to create new subfolders into each subfolders. It was working well yesterday until now when it suddenly does not recognise the subfolder anymore. For example, I want to loop through the “Test” folder here but at the moment it is not recognised:

I have tried SearchOption.AllDirectories but since it pulls out every single files in it, it is not what I want at all. Does anyone have any idea what might have happened here?

Thank you :slight_smile:

@upnewbie - pls check the GetDirectory path.

Hi, thank you for your reply. I have checked and copied it directly from my folder path so I am not sure why it is not working. I did return everything else (e.g. the json and xaml files) but not the subfolder