https://www.disktuna.com/folders-turn...
I some times see this happen on SD Cards and USB Flash Drives, folders turn into files. Result: You can not access the folder and even file recovery tools do not detect the folder as folder. So in these tools you have the same issue.
I then use DMDE to edit the entry in the directory and turn the file back into a folder. USE A DISK IMAGE (edit the disk image) or AT LEAST HAVE A SECTOR-BY-SECTOR DISK IMAGE!!
Note that edit feature does not require a licensed version! If you want to purchase DMDE use below links (as it will grant me a small commission):
Free version allows you to recover upto 4000 per session/folder. If you need to recover more then:
DMDE Express (one year) - https://www.disktuna.com/go/dmde-expr...
DMDE Std. (life time) - https://www.disktuna.com/go/dmde-std/