I created accidentally a folder trying to put a link [[https.//obsidian.md]] ( . insted of : ) and https. folder was created. Then I delete the folder and keep writing, but when I was doing a backup I obtain an error from the Obsidian trash route.
After a few tests I understood the error, you can’t name a folder in Windows with a dot the end of the name, for example “Name.”. The name of Windows folders are restricted and cannot be named as “Con”, “Test-name.” which is not the case for Obsidian Vault.
So when I try to delete “https.” folder, a windows error appears:
Item not found
Could not find this item
“This is no longer located in C:\ObsidianVault.trash. Verify the item’s location and try again.”
Now i’ve got various folders (because I try with other names) in the Obsidian trash that I can’t remove. I’ve tried to remove with cmd with privileges, change the name, remove manually but it gets me the same error.
If someone can help me it would be great and also notice this thing to others Windows users.
I’m using windows 10 (build 19044) with Obsidian version 0.14.16.
- Remove all folders except CON:
rmdir /s "\<full path to directory>\.trash"
- Remove CON folder:
rmdir "\\.\<full path to directory>\con"