I use Windows 7 x64. You can try this on your computer, too.

Go take any file. Try to rename it to 'aux.svg'. Windows will answer with

The specified device name is invalid.

I tried this on two different computers (also Win7 x64), with the same results.
You can take any file you want. You can not rename it to 'aux.svg'. Dropbox will not download a file with that name. The browser will rename it to '_aux.svg' when downloading. This seems to happen in any directory I cared to try.

What the heck is happening here?

link|improve this question

74% accept rate
feedback

2 Answers

up vote 10 down vote accepted

This is one of the file names Windows bans for historical reasons. As far as I know, you have no way around it.

link|improve this answer
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.