Sunday, March 4, 2012

You can’t do this on Windows

Well there is something you can’t do on Windows and no this is not a comparison with the mac, but there are some reserved names that you can’t use while naming a folder.

Try it yourself you will not be able to create folders with the following names as they are the reserved names for Windows use only:

con, con. -> the console
prn, prn. -> the default printer, as a character device
aux, aux. -> the default serial terminal, as a character device
lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8, lpt9 -> the parallel ports, as character devices
lpt1., lpt2., lpt3., lpt4., lpt5., lpt6., lpt7., lpt8., lpt9.
com1, com2, com3, com4, com5, com6, com7, com8, com9 -> the serial ports, as character devices
com1., com2., com3., com4., com5., com6., com7., com8., com9.
nul, nul. -> the NUL or "waste bit bucket" or "black hole for bits" or "/dev/null" device
So try them out and fool your friends.

No comments:

Post a Comment

Thank you for your feedback and keep visiting...!