Discussion Locked

Cannot create a folder named "con" in Windows

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Ok, somebody explain this to me...why can't I create a folder named "con" in Win2k or XP?

5 replies

by rick1056

The only way to name a folder "con" is add a wild card like( * )or add another "n". the reason is that it's a windows file name that does go back to DOS because DOS only recognized the first three letters of a folder. So no other folder can have a three letter designation that a windows folder already uses, not even on a custom folder on a non-primary drive (bootable) or a external drive either.

by Member 25348569

Yes, it does go back to DOS but the reason is that it is a reserved word to signify the console device. All of the DOS device names are similarly reserved, COMn, LPTn, PRN, etc.

In a DOS box, type "Copy [i]filename[/i] con" and the file will be echoed to the screen. "Copy con [i]filename[/i]" will copy the keyboard strokes to the named file until ctrl-Z is pressed.

by deenbenny

We can't create con folder in deskop since con folder is a register folder used by the operating system ............ So we can create that folder only by using the cmd prompt .....

This discussion is closed to new replies.