English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If you try to create a folder (right click>new>folder) and rename it to "con" (or similar method) you either get an error or the system just won't do it... Supposively even Microsoft doesn't know why that happens. It can be done using some command lines, but what I'm curious is "WHY?"...

2006-08-01 06:07:25 · 3 answers · asked by Sindel 2 in Computers & Internet Other - Computers

3 answers

Because CON is a dos reserved word and you can't have a folder named with a dos reserved word.

Here are some others that shouldn't work too

CON, PRN, AUX, CLOCK$, NUL, COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT0, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9

2006-08-01 06:18:56 · answer #1 · answered by Anonymous · 0 0

It's a reserved file name, http://www.testingeducation.org/k04/examples/spec06s.html and Microsoft did it on purpose, they know exactly why it happens. This is so you can't screw up and crisscross system folders with something you tried to name. But then again, you had to know a little something about that. I don't know anyone who would intentionally name a folder "con".

2006-08-01 06:14:53 · answer #2 · answered by conradj213 7 · 0 0

con is part of a dos-based command so it's restricted.

"copy con test.bat" leads you to a cursor in MS-Dos. You can type here
to exit the editing/creation of that file, type Ctrl-Z. when you're done, "del test.bat"
go to command prompt and try it out. :)

2006-08-01 06:14:03 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers