why can't you create folder with name com ?

A

Ajay

try to set the name of folder com , surprised ?? it wont allow you to set the
name com ? why ???
 
O

Opinicus

Ajay said:
try to set the name of folder com , surprised ?? it wont
allow you to set the
name com ? why ???

I can create a folder named "com" and a folder named
"com.com". I can also rename folders to those names.

What program are you trying to set the name with?
 
J

JoAnn Paules [MSFT MVP]

There are some "words" that are set aside for other purposes by Windows. com
is one of them. I'm sure there are rules when those reserved words can be
used but I don't know them.

I would suggest naming your folder something else instead of fighting with
your computer. You may win the battle but lose the war.
 
K

Keme

Ajay said:
try to set the name of folder com , surprised ?? it wont allow you to set the
name com ? why ???

Files, folders and external devices share namespace. Filenames are
additionally distinguished by pathname so you can have files with the
same name as long as they exist in different folders. Devices are not
bound to folders, they exist regardless of folder, as it were. That
means you an have no file or folder anywhere with a name already given
to a device.

Com should be OK for a file or folder name. comN (where N is a digit,
these are the "communication", or serial port, devices) is a device
name, and should not be available for the filesystem. The same goes for
con and prn (the default console and print devices) and lptN (the "line
printer", or parallel port, devices).
 
Top