PDA

View Full Version : How to create CON folder in windows?


gamenamababy
03-22-2007, 04:08 AM
Try out creating a folder named CON or LPT or COM1

Not only CON, we cannot create any of these
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more...

The reason is that con, prn, lpt1..lpt9, etc are underlying devices from the time dos was written. so if u r allowed to create such folders, there will be an ambiguity in where to write data when the data is supposed to go to the specified devices. In other words, if i want to print something, internally what windows does is -- it will write the data to the folder prn (virtually u can call it a folder, i mean prn, con, etc are virtual folders in device level). So if we are able to create con folder, windows will get confused where to write the data, to virtual con folder or real one.

So Now, Try this...

Open the Command prompt by Start -> Run and typing cmd

Creating:
C:\> md \\.\c:\con

Deleting:
C:\> rd \\.\c:\con

Thats all

try it and give me some comments:yes:

SAN_APIIT
03-22-2007, 05:35 AM
Repost

gamenamababy
03-22-2007, 03:05 PM
Repost

he mate if u can show me the same information that is in this thread then i will say ooo sorry this is a repost:yes:

SAN_APIIT
03-22-2007, 06:05 PM
he mate if u can show me the same information that is in this thread then i will say ooo sorry this is a repost:yes:


This thread or this forum?.
Go to "A Filename You Cannot Use in Windows XP"
same section and read it...... :lol: :lol: :lol: :lol: :lol: