Unable to rename a folder or a file as 'con'
In linux it works, but not it Windows, I tried a lot and It just returns to "New Folder", why?
It is a reserved keyword:
Raymond Chen also writes about these reserved names in his blog post What's the deal with those reserved filenames like NUL and CON?.
Long story short, they existed back in DOS 1.0 and are still around for compatibility reasons (no joke):
Com1 is the handle for serial port 1 on a pc (communication 1)
You may be able to do this from the command line by wrapping in quotes ( ren folder "com1"), but I'm unable to test right now.
You can't name folders/files
A full list of reserved file/folder names can be found here.