folder creation denial with the name "con"

G

Guest

Guest
Archived from groups: microsoft.public.win2000.file_system (More info?)

When we try to create a folder in Windows with the name ---
"con" it dosen't allow to create one . Why is it so?
 

joeP

Distinguished
Dec 31, 2007
264
0
18,780
Archived from groups: microsoft.public.win2000.file_system (More info?)

con is 'console'

you can create a file the following way:

copy con myfile.txt (means, copy keyboard input to myfile.txt)
hello world
[crtl+z] (or F6) [enter] ...

Windows will now say, "one file copied'.

As 'con' is reserved for the purpose (keyboard input) you can not use this
for a file/folder name. If you'd want to copy files from con to another
folder, or the file 'con' to another file, it would confuse the system

--
Joep