ItKraze
Would you like to react to this message? Create an account in a few clicks or log in to continue.
ItKraze

For IT


You are not connected. Please login or register

How to create a CON folder in windows

Go down  Message [Page 1 of 1]

1How to create a CON folder in windows Empty How to create a CON folder in windows Fri May 30, 2008 6:11 pm

Admin

Admin
Admin

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...

http://itkraze.friendhood.net

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum