I'm on Windows 10.
I wrote a script in python that was supposed to sort my downloads folder by the extensions (create a new folder for every extension and move every file with that extension in there), but I created the folders in the wrong directory and ended up moving files into non-existing directories (using
shutil.move()), which lead to this.
These files are not directories and I can't click on them to view what's inside.
I tried opening these files using
- explorer.exe from C:\Windows
- the windows command prompt (
cd isofor example)
How can I turn these files into directories or undo the changes made by python?