In Windows, go to File Explorer > View > Check "File name extensions."
Identify the drive letter where the "file" is located (e.g., D: ). filedot to folder fixed
If your folders have turned into files with a .exe or .lnk extension, Run a scan with Malwarebytes or your preferred antivirus. In Windows, go to File Explorer > View