- ending in a dot
- ending in a space
- reserved names like CON or NUL
- longer than 256 characters
Code: Select all
echo.>"\\?\C:\Temp\..."
Now try to rename or delete the file with Salamander:
The way to fix this is to prepend \\?\ to the absolute path:---------------------------
Error Renaming File
---------------------------
(32) The process cannot access the file because it is being used by another process.
Code: Select all
del "\\?\C:\Temp\..."
I'm not talking about Unicode support, although I think that's related.