Invalid folder names in windows

sshaggy

Member
Do you know that windows doesn't allow you to have some words as folder name.

for example:
you cant name a folder as 'con'
try it.
other word are 'nul', 'aux', 'prn'.
 

alexander

New Member
Do you know that windows doesn't allow you to have some words as folder name.

Yea I did, heres a cool one; so long as you're not in administrator, call one of your UNIMPORTANT folders CLOCK$. You will no longer be able to access, change or delete the file, unless you're in Administrator of course.
 

sshaggy

Member
this is because of some leftover from DOS which stand for output device.
con stands for 'console'
aux stands for 'auxiliary'
prn stands for 'printer'


These are specified in IO.SYS and date back from the early MS Dos days. Here is a brief list:

CLOCK$ - System clock
CON - Console; combination of keyboard and screen to handle input and output
AUX or COM1 - First serial communicationport
COMn - Second, Third, ... communicationport
LPT1 or PRN - First parallel port
NUL - Dummy port, or the "null device" which we all know under Linux as /dev/null.
CONFIG$ - Unknown
 

tyttebøvs

New Member
I've seen folders and files with those names. So it must be possible somehow.

A couple of other names that gives you trouble are " " (space) and "." (period). But I have seen those aswell. Go figure :)
 
Top