The problem is encountered because Windows mistakenly thinks you’ve classified the folder as a Pictures folder and chosen the option to hide the filenames.
What, no file names?
To resolve this problem, right-click in the blank space of the folder and choose the Customize This Folder option from the menu.
Now select the Customize tab, and then choose Pictures and Videos as the folder type.
Either show the file menu, or just hold down the Alt key, and then you will be able to deselect the Hide File Names option, which will instantly show the folders.
Here we are, now we’ve got file names again…
Note that you should probably go back into the customize this folder menu and change the folder type back to All Items instead, but that’s up to you. You could also reverse this tip if you want to hide filenames in a folder.