windows folder creation surprise

Submitted by venkatesh
on October 10, 2005 - 4:53am

It was dicovered that nobody can create a folder named as "con" in windows.
This is something pretty cool...and unbelievable...
Note : This should be through & in windows only.
If any one have solution or reason why it happens , let me also know please.

MS-DOS that's the problem!

Anonymous (not verified)
on
October 10, 2005 - 12:18pm

hmm, have you tried to create a folder named "com1" "lpt1" "com2" ... it shouldn't work either!

"con" is a _old_ MS-DOS stuff!

I found how to create a folde

Venkat (not verified)
on
October 12, 2005 - 2:52pm

I found how to create a folder or file named CON , LPT1 , COM1 etc...

STEP1: goto command prompt

STEP2: type in prompt e:\> "mkdir \\.\e:\con"

STEP3: verify by typing "dir \\.\e:\con"

STEP4: delete the file or folder "rmdir \\.\e:\con"

Its not working, tred out, an

Kim Thomas (not verified)
on
October 14, 2005 - 6:56am

Its not working, tred out, any other way ?

Rgds
Kim

the solution didn't work I t

Anonymous (not verified)
on
October 18, 2005 - 2:26am

the solution didn't work
I tried it like

c:\>"mkdir \\com6\c:\sk"

or
c:\mkdir \\com6\c:\sk

or
c:\>mkdir \\.\c:\sk

creating folders named 'con'

bidwan (not verified)
on
October 26, 2005 - 11:09pm

Gr8! It works fine.Can any1 tell me how to add files inside this folder.
Thanks

Hai , how to create con folder in windows

Anonymous (not verified)
on
January 9, 2007 - 8:18am

Hai iam doing MTECH Comp

Could you please expose how to create con folder in window

Thanking you

Sateesh.B

hi

vishnu panchal (not verified)
on
May 20, 2007 - 8:01am

hey all

here is an amazing trick.

you know that we cant create a folder named CON, NUL, COM1, COM2, COM3, LPT1, LPT2, LPT3,COM1 to COM9 and LPT1 to LPT9....

in any of the windows operating system.

try with this.

but here is the master mind....................

i found one method to create the folders with these reserverd system names.

here is the solution to create the folder named con and other system variables.

1) go to run dialog.
2) type cmd/command (command prompt gets opened)
3) go to root directory like C:\ or D:\ etc
4) type md\\.\\c:\\con ....(here is done)
5) check the folder on the respected drive.

try

& reply if not working.

with warm regards.

vishnu panchal /////+91-9890523748

How to create folder named CON in desktop!!

Vinodh (not verified)
on
May 30, 2007 - 9:38pm

We can create a folder named CON or LPT or COM by a simple way.
Right click and do create folder process. While naming the folder, type 'CON' and type c55 in the numpad holding the alt button.
EX 'CON' + (hold atl + '255').

This process would create a folder named CON and a space with it. You cannot explictely give a space because windows cuts off the excess spaces before or after the name.

THANKS

SAM VERMA (not verified)
on
June 6, 2007 - 12:39am

WOW, ITS VERY EAZY TO CREATE THE FOLDER LPT, CON COM. THANKS
ON OF THE OTHER WAY IS : HOLD ALT+0160
REPLY

regarding create a password to a folder/file

Anonymous (not verified)
on
June 25, 2007 - 11:27am

simply ur work was incredible.
that's really great.
here is one more doubt
that how to create a password to a folder/file.

You are faking man.......

Anonymous (not verified)
on
June 27, 2007 - 2:29am

Hey you are just adding ASCII chars at the end of the file and you are not creating con folder actually.

You r absolutely

Anonymous (not verified)
on
July 27, 2007 - 6:46pm

You r absolutely correct.......but it is done u can se CON....u shuld do it doesn't matter how u do it....

Its not a solution

SUNCOM (not verified)
on
January 5, 2008 - 4:07am

We can create a folder named con with ASCII character. But if its showing the folder name CON with one space.

But we can't open or findout the folder through command prompt. means Its not a real name con.

If its a folder name con, it shout open in command prompt also

thks
SUNCOM

Here is the Solution

SUNCOM (not verified)
on
January 16, 2008 - 5:10pm

Go to the following link for the reason:

In Windows all devices are storing as files like Linux. In linux we can see the file location, because its free of cost. But in Windows we can't locate the file.

So its a system device file / (or /and) folder. So we can't use the same name again. Windows already locked / have a policy for that which not able to see by the user. every boot system will load the file and store all the information about the device / port.

You can see the details by running

RUN>CMD>mem /d|more

And if you want to create the folder named CON,LPT1..etc.. follow the steps:

RUN>CMD> type the command with the drive letter you want: mkdir \\.\e:\con
and to remove: rmdir \\.\e:\con

find this link for more informatin:
http://support.microsoft.com/kb/315226/

Thanks and Regards,
Suneesh Kumar
www.suneeshkumar.webs.com

When I try to name the

on
October 19, 2007 - 8:29pm

When I try to name the folder "con", it automatically changes to "New Folder", is this resolved?

very simpale to create con name folder

Sarfraj Khan (not verified)
on
November 26, 2007 - 10:19pm

follow these steps:
hold alt+0160
and then type con

in case any problem call me +91-9811134433

This thread should be taken

Anonymous (not verified)
on
May 25, 2008 - 12:35am

This thread should be taken out back and shot.
Then incinerated in a kiln.
Then encased in concrete.
Then buried underground.
Then nuked from orbit.

It's the only way to be sure.

U r faking man...

Anonymous (not verified)
on
June 26, 2008 - 12:47pm

U r faking man...
U r really smart re......kya kaata re roj....

That is a fake CON folder

on
June 27, 2007 - 8:27am

No one wants to created a CON + chr$(255) folder!

Thats pretty amazing stuf :)

fxcaliber (not verified)
on
April 17, 2009 - 2:03pm

Thats pretty amazing stuf :)

By typing alt + some keys

Anonymous (not verified)
on
June 30, 2007 - 11:37pm

By typing alt + some keys adds some more char .... it's not same as con

Following the steps you

Qamar (not verified)
on
August 28, 2007 - 9:39pm

Following the steps you said, I cannot create a CON folder on my laptop. Any suggestions??????

Problem in Creating con folder

Anonymous (not verified)
on
September 10, 2007 - 6:31am

Hello,

AS you said i tried to do the steps. But i am getting problem while doing these steps . could you help me or if you give me a deatils steps that how to create it .

kindly looking forward for your reply,

kiran Mane

this would be 'CON ' (with

Anonymous (not verified)
on
September 26, 2007 - 11:52pm

this would be 'CON ' (with space) and not exactly 'CON'

i m trying ur way to create

Vineet (not verified)
on
October 11, 2007 - 9:10pm

i m trying ur way to create a 'CON' folder on desktop but it was creating a problem
. plz tell me how can i create it
i m using steps like
1.right click on desktop
2.make new folder
3.type CON and ALT+255
but it is not working
plz tell me

thanks & regards
Vineet pasricha

Errors

Raymond Wang (not verified)
on
November 23, 2007 - 8:34am

I am sorry that I was tryin' 2 send another letter about this but I clicked the Back button and it said Webpage Expired.
This was an accident. The best thing about accidents is that i learn from them. I was telling u that I kept getting errors on Step 3. Y does this trick work 4 u but not me? This is just like the trick involving Microsoft Word, where i kept getting n error message on Step 5. I was going 2 use Ray or Raymond as my name but they both belong 2 other registered users. I had2 use my last name in the name box because my other user names were used by someone else.

its easy to create any named folder

Mac (not verified)
on
August 17, 2008 - 3:36am

Just make a folder on desktop
rename it.
press alt and by holding it type 0160,
and release and type the folder name.

thanks for idea

kamal mohammed shaikh (not verified)
on
October 18, 2007 - 11:31am

thank you mr
your idea is sucsessful thanks thans thanks thanks

about con

pravin (not verified)
on
November 2, 2007 - 3:17am

it's gr8 but plz reply me how u creat & where u find

Its working.....

Anonymous (not verified)
on
November 20, 2007 - 12:13am

Really,its so simple....Great Mr.Vinodh.....How did u got this.....???

not working

rag (not verified)
on
May 24, 2008 - 8:01am

but u r not making a folder of name 'CON' u r making a folder of name 'con and blank space' that is to easy

THNX VRY MUCH

CHARUKA SAMARAWEERA (not verified)
on
June 19, 2008 - 11:31am

THNX VRY MUCH

Bevakoof....direct maar

Anonymous (not verified)
on
June 26, 2008 - 12:45pm

Bevakoof....direct maar sakta na re space....item saale....255 kaiku be haram zyaade....

abe .. direct space dekar

Anonymous (not verified)
on
August 21, 2008 - 5:24am

abe .. direct space dekar bhi nahi bana sakta tu

yes... it's an ASCII :-(

Emanuele (not verified)
on
April 1, 2009 - 8:30am

yes...
it's an ASCII

:-(

DELETE?

SAM VERMA (not verified)
on
June 6, 2007 - 12:43am

HI, IT IS CREATED BUT IT IS NOT DELETE.PLS TELL ME HOW TO DELETE THIS FOLDER NAME CON IN MY DRIVE D:

how would you able to create

jogesh (not verified)
on
September 10, 2007 - 12:42am

how would you able to create con folder.
plse let me inform steps for that on my e-mail id
regards
jogesh

The "CON" Mystery- Demystified

Vishal Ramawat (not verified)
on
September 18, 2007 - 11:22pm

CO, LPT1, COM1 are some of the reserved words of dos which dont let you create above named folders. Adding ascii values to the last wont encrypt the folder in winxp and above.
To create and remove above named folders just follow these steps:

Start|Run|command.com/cmd.exe

mkdir C:\con\
OR
mkdir \\.\C:\con

copy C:\junk\sol.exe C:\con\
dir C:\con\

rmdir /s C:\con\

Also works with other reserved device names: AUX/PRN/COMx/LPTx..etc

Regards,
Vishal Ramawat
server_cgi86@yahoo.co.in

cannot creat folder name con

Anonymous (not verified)
on
August 7, 2008 - 9:21pm

i try this command
mkdir C:\con\
and solved the problem

how to delete the con folder

Vineet Pasricha (not verified)
on
October 11, 2007 - 9:37pm

open cmd and type "rd \\.\\c:\\con "

CON Folder Delete

Sumanta Nandy (not verified)
on
December 10, 2007 - 2:32am

rd \\.\\d:\\con

TRY IT

hai

Anonymous (not verified)
on
February 8, 2008 - 3:02am

hai

you can delete a con folder

Anonymous (not verified)
on
June 11, 2008 - 8:45pm

just type in command prompt "rmdir\\.
d:\con" an enter the con folder is deleted

how to delete the folders made with this method

kuldipak (not verified)
on
August 31, 2007 - 6:46am

it is working properly.
but how to delete the folders once made.

please give solution.

re : how to delete the folders made with this method

Anonymous (not verified)
on
September 19, 2007 - 4:05pm

open cmd and type "del \\.c:\blablabla\con"
without quotes and where blablabla is your access way to con folder

thanx for ur post . it

Ranjan (not verified)
on
September 4, 2007 - 8:18am

thanx for ur post .
it really worked well.

thanx again....

it gets creaTED!!! But u

Anonymous (not verified)
on
September 6, 2007 - 9:40pm

it gets creaTED!!!
But u can't delete that folder.
Is there any method or command to do so??

well ok, so I have created

anonymous (not verified)
on
September 7, 2007 - 1:59am

well ok, so I have created the Con folder. how do you delete it now?

how to delete con folder

Anonymous (not verified)
on
September 9, 2007 - 9:56pm

how to delete con folder

hi i have created con folder

jogesh (not verified)
on
September 10, 2007 - 5:12am

i have created con folder with some command
butnow i m not able to delete it.
pls tell me the way to delete it.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.