Windows 7 can not rename a file to 'aux.svg': "The specified device name is invalid" [duplicate]
Solution 1:
This is one of the file names Windows bans for historical reasons. As far as I know, you have no way around it.
Solution 2:
To add to alexandru's answer:
You can bypass file name parsing by using a path such as:
\\?\C:\Users\Paperflyer\aux.svg
del
and rename
in Command Prompt accept such paths. However, it's pointless to rename a file to aux
, since you won't be able to access it from other programs.
Solution 3:
As another addition two years later:
You can rename (and modify) to any reserved keyword with cygwin. If it's a directory, you can access it's contents with other programs on Windows, but not itself.
I came across this while compiling a program on a shared folder in a virtual machine. There was a folder named aux in the package, an immovable folder, which I extracted with cygwin formerly. So only way to get rid of is using cygwin again.