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?