TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > TechTalkz Member Reviews & Guides > Guides

Notices

Tutorial : How to create CON folder in windows XP

Guides


Comment
 
Article Tools Display Modes
<!-- google_ad_section_start -->Tutorial : How to create CON folder in windows XP<!-- google_ad_section_end -->
Tutorial : How to create CON folder in windows XP
Published by Darklord
08-03-2007
Smile Tutorial : How to create CON folder in windows XP

Hello guys...

Many ppl dont know that they cannot create "CON" folder in windows. (Type 1)

Some ppl dont know why they cant create it? (Type 2)

Very few know that they can still create it someway.. but donno why are they supposed to do exactly like that..(Type 3)

Now, After reading this tutorial, you will become one of the rest
__________________________________________________ _________________________

Type 1 :

Try out creating a folder named CON or LPT or COM1

Now, you have become Type 2 category.
__________________________________________________ _________________________

Type 2 :

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

Code:
C:\> md \\.\c:\con
Now, Open My Computer and browse through the path where you created CON folder... Surprising.. ?? Yeah.. you have created it successfully

Now, try to delete the folder from My computer

OOPS!!! You cant delete it...

Now, try this in command prompt console

Code:
C:\> rd \\.\c:\con
Yeah!! You did it...
__________________________________________________ __________________________

Type 3 :

Well, let us now have a glance at how we were able to create it...

It is just because of the UNC Path (Universal Naming Convention) - Wikipedia, the free encyclopedia. The Universal Naming Convention, or UNC, specifies a common syntax to describe the location of a network resource, such as a shared file, directory, or printer.Since, these conventions did n't exist under pure DOS, they are not backward compatible. The UNC syntax for Windows systems is as follows..

\\RemoteHost\sharedfolder\resource

where RemoteHost is the computer name / IP address of the computer that you wish to connect through remotely for accessing shared folder. The rest is the path.

(Here \\remotehost\drive:\con doesn't make sense anyway, because without having a process on the remote host, there is no current 'console'). It would be a security hazard as well, having the serial and parallel ports accessible for everyone who is allowed to read or write in any single directory.

The "." in the command \\.\c:\con suggest the local server. Now, you are pointing to your own computer. since, you have all privilages on every folder of ur computer, you can easily create it.
__________________________________________________ _____________________________

Type 4 :

Ofcourse, Now, u r of type 4. What else i can say :/
__________________________________________________ _____________________________

P.S : Please post your comments..
Source : My own post in other forums also..
Published by
Darklord's Avatar
Junior Member (25+)
Join Date: Feb 2007
Location: /Asia/India/Rajasthan/Bits-Pilani
Posts: 54
Rep Power: 9
Darklord is a splendid one to beholdDarklord is a splendid one to beholdDarklord is a splendid one to beholdDarklord is a splendid one to beholdDarklord is a splendid one to beholdDarklord is a splendid one to beholdDarklord is a splendid one to behold
Send a message via Yahoo to Darklord

Article Tools

Latest 5 articles

References
Wikipedia, google

Old 08-03-2007, 09:30 PM   #1
Banned
 
Dark Star's Avatar
 
Join Date: May 2006
Location: /dev/had0
Age: 20
Posts: 1,627
Thanks: 98
Thanked 172 Times in 146 Posts
Rep Power: 0 Dark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just Great


OS: Linux


Re: Tutorial : How to create CON folder in windows XP

Don't mind but after seeing other Tut's this is a dumb and I don't think anyone here at TT don't know it ahh.. we have discussion over it many times.. Btw. nice explanation. >> keep it up and well done again
Dark Star is offline   Reply With Quote
Old 08-03-2007, 09:35 PM   #2
Advanced Member (250+)
 
pixelpainter's Avatar
 
Join Date: Oct 2006
Location: san francisco
Posts: 457
Thanks: 16
Thanked 52 Times in 48 Posts
Rep Power: 27 pixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Greatpixelpainter is just Great
Send a message via Yahoo to pixelpainter
Re: Tutorial : How to create CON folder in windows XP

Quote:
we have discussion over it many times
I must have missed that discussion
Thanks I found this interesting, it is a good effort, but maybe better placed in the "Tips and Tricks" section rather than a guide
__________________
-
-
-
"It's the life in your years, not the years in your life that counts."
Abraham Lincoln
pixelpainter is offline   Reply With Quote
Old 08-03-2007, 10:01 PM   #3
Elite Member (1000+)
 
Night_virus's Avatar
 
Join Date: Jul 2006
Location: Kolhapur, India
Age: 18
Posts: 1,124
Thanks: 70
Thanked 47 Times in 45 Posts
Rep Power: 18 Night_virus is a glorious beacon of lightNight_virus is a glorious beacon of lightNight_virus is a glorious beacon of lightNight_virus is a glorious beacon of lightNight_virus is a glorious beacon of light


OS: Windows 98 / Windows ME Windows NT / Windows 2000 Windows XP Windows Server 2003 / Windows Server 2008 Windows Vista Windows 7 Linux Mac OS


Send a message via MSN to Night_virus Send a message via Yahoo to Night_virus
Re: Tutorial : How to create CON folder in windows XP

but why we want these folders for???
Anyone can explain???
__________________
Reloaded, Reformed, Purely changed.. I'm no more Rocky_cool
Night_virus is offline   Reply With Quote
Old 08-03-2007, 10:05 PM   #4
Banned
 
Dark Star's Avatar
 
Join Date: May 2006
Location: /dev/had0
Age: 20
Posts: 1,627
Thanks: 98
Thanked 172 Times in 146 Posts
Rep Power: 0 Dark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just Great


OS: Linux


Re: Tutorial : How to create CON folder in windows XP

Quote:
Originally Posted by DeSiDeViL View Post
but why we want these folders for???
Anyone can explain???
One can't creat these folders simply so they have to follow these commands at Command Prompt... Some of the, are CON,PRN, ..... These are reserved for other functions or device like CON=Console, PRN=Printer ...

Hope these will help
Dark Star is offline   Reply With Quote
Old 20-04-2009, 05:14 AM   #5
Junior Member (25+)
 
4bdulmobeen's Avatar
 
Join Date: Apr 2009
Location: i am from pakistan jhelum .
Age: 19
Posts: 43
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0 4bdulmobeen is an unknown quantity at this point


OS: Windows XP


Send a message via Yahoo to 4bdulmobeen
Re: Tutorial : How to create CON folder in windows XP

what is the purpose or benefit of making con folder
4bdulmobeen is offline   Reply With Quote
Old 20-04-2009, 02:47 PM   #6
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 23
Posts: 6,621
Thanks: 19
Thanked 643 Times in 602 Posts
Rep Power: 87 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future


OS: Windows XP Windows Vista Windows 7


Send a message via Yahoo to bakuryu
Re: Tutorial : How to create CON folder in windows XP

There is apparently no purpose in creating a folder named CON, other than just for the sake showing it to someone that you can create it. However creating a CON folder and then making an archive of that CON folder really stops it from being extracted
__________________
Please don't click here
bakuryu is offline   Reply With Quote
Old 18-05-2009, 03:08 PM   #7
Junior Member (25+)
 
Adheep's Avatar
 
Join Date: Dec 2008
Location: I live in Madurai, Tamil Nadu, India and i'm proud of it.
Posts: 26
Thanks: 5
Thanked 4 Times in 3 Posts
Rep Power: 0 Adheep is an unknown quantity at this point


OS: Windows XP Windows Vista Windows 7


Re: Tutorial : How to create CON folder in windows XP

Nice Explanations, i was wondering this same question and found out the answer. Though i learnt d answer i cudn't find a solution to it...
But u hav done it, GOOD WORK Man!!!!

For those who thinks ders no purpose of creating these folder:

There is no actual purpose to create a folder name called "CON".
But u knw human are always interested in things which he dont knw or which he cannot do...
Adheep is offline   Reply With Quote
Comment

Article Tools
Display Modes


Similar Threads
Article Article Starter Category Comments Last Post
TUTORIAL: All About Resource Hacker in a Brief Tutorial Vishal Gupta Guides 10 15-10-2007 05:05 PM
Cannot create a new folder SellUmHi Windows Vista All 8 21-08-2007 01:08 PM
RE: Cannot Create New Folder Doug Windows Vista All 0 17-08-2007 04:08 PM
Create a new folder Doug Wilson Windows XP 4 16-08-2007 09:21 PM
Tutorial: How to Create Command-Line Shortcuts for frequently Accessed folders/files Darklord Guides 8 21-03-2007 09:30 AM


< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 08:00 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional