Creating CON folder in windows !!!

Dipanshu

Dipanshu

@dipanshu-s9jmBn Oct 26, 2024
HI MYSELF DIPANSHU SRIVASTAV
I READ ON GOOGLE THAT MICROSOFT CORP. IS UNABLE TO CREAT FOLDERS NAMED CON , LPT1, PRN, COM1...FOLDER WITHOUT NAME...BUT I CAN DO IT... I ALSO READ THAT IT IS IMPOSSIBLE TO MAKE FOLDER CON.....................BUT I WILL DO IT IT IS POSSIBLE.......We can create a folder with CON name. Create a folder and right click and select Rename option. Then just press Alt and without releasing Alt button press 255 from the keyboard and then type con. That’s it. You will see a folder named CON.
Reason why you cannot rename it normally is it that CON is one among many system reserved names.
.

DIPANSHU SRIVASTAV
BCA-MCA(DUAL)
LPU PUNJAB INDIA
<removed by admin>

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • itchap

    itchap

    @itchap-RKJQDB Aug 25, 2009

    Re: CON folder is possible

    Dipanshu
    HI MYSELF DIPANSHU SRIVASTAV
    I READ ON GOOGLE THAT MICROSOFT CORP. IS UNABLE TO CREAT FOLDERS NAMED CON , LPT1, PRN, COM1...FOLDER WITHOUT NAME...BUT I CAN DO IT... I ALSO READ THAT IT IS IMPOSSIBLE TO MAKE FOLDER CON.....................BUT I WILL DO IT IT IS POSSIBLE........

    DIPANSHU SRIVASTAV
    BCA-MCA(DUAL)
    LPU PUNJAB INDIA
    Hi, Dipanshu First of all welcome to CE. And please post how to create a folder named con.
  • Dipanshu

    Dipanshu

    @dipanshu-s9jmBn Aug 27, 2009

    Re: CON folder is possible

    😁contact me on <don't put your mobile number, unless you are a lonely individual who wants to talk to humans> then i will give the idea with sime terms & conditions
  • Saandeep Sreerambatla

    Saandeep Sreerambatla

    @saandeep-sreerambatla-hWHU1M Aug 27, 2009

    Re: CON folder is possible

    There are ways described in internet regarding this !!!

    And BTW who wants to create that ??

    What are the uses of creating that file in system??

    Can you state what differences can we make creating a folder named CON?

    I guess its of no use creating that folder in windows.

    Any use please share!!
  • Dipanshu

    Dipanshu

    @dipanshu-s9jmBn Aug 28, 2009

    Creating con foder in windows !!!

    We can create a folder with CON name. Create a folder and right click and select Rename option. Then just press Alt and without releasing Alt button press 255 from the keyboard and then type con. That’s it. You will see a folder named CON.
    Reason why you cannot rename it normally is it that CON is one among many system reserved names.



    DIPANSHU SRIVASTAV
    BCA-MCA (DUAL)

    LOVELY PROFESSIONAL UNIVERSITY UNIVERSITY,
    PHAGWARA,JALANDHAR-DELHI G.T. ROAD,
    PUNJAB

    <It has been said many times not to publish mobile numbers and email ids on open forums__ES>
  • Dipanshu

    Dipanshu

    @dipanshu-s9jmBn Aug 28, 2009

    Re: Creating con foder in windows !!!

    We can create a folder with CON name. Create a folder and right click and select Rename option. Then just press Alt and without releasing Alt button press 255 from the keyboard and then type con. That’s it. You will see a folder named CON.
    Reason why you cannot rename it normally is it that CON is one among many system reserved names.
  • Dipanshu

    Dipanshu

    @dipanshu-s9jmBn Aug 28, 2009

    Re: CON folder is possible

    itchap
    Hi, Dipanshu First of all welcome to CE. And please post how to create a folder named con.
    We can create a folder with CON name. Create a folder and right click and select Rename option. Then just press Alt and without releasing Alt button press 255 from the keyboard and then type con. That’s it. You will see a folder named CON.
    Reason why you cannot rename it normally is it that CON is one among many system reserved names.



    DIPANSHU SRIVASTAV
    Clipped_ES>
    LPU PUNJAB
    BCA-MCA
  • oldboy1985

    oldboy1985

    @oldboy1985-MqDQ0e Aug 30, 2009

    NOT WORKING !!
    AT LEAST IN MY PC
    please tell the reason
  • moksh

    moksh

    @moksh-Nnq2IU Aug 31, 2009

    thats a clumsy bypass....alt+255 is ASCII for "Blank space" so what ur actually doin is makein a con with space.... 😛
  • justaglance

    justaglance

    @justaglance-3T6eU6 Sep 2, 2009

    Hi,

    It is not working for me 😔
  • enigma

    enigma

    @enigma-7BlA8c Sep 3, 2009

    good dude.....
  • Dipanshu

    Dipanshu

    @dipanshu-s9jmBn Sep 3, 2009

    enigma
    good dude.....
    thanks for regard
  • TARANJEET SINGH

    TARANJEET SINGH

    @taranjeet-singh-mdq4QW Sep 4, 2009

    The BEST-EST BEST WAY OF CREATING FOLDER NAMED CON

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

    but as u know that nothing is perfect in this world...so it has its own limitation.....just explore and find out....

    PLEASE COMMENT and also add me to your friend list...pleaseeeeeeeeeeeee
  • neha1

    neha1

    @neha1-XOkqHl Sep 4, 2009

    hi........
    i m able to make folder by name CONcon and not by CON.......😕y???
  • TARANJEET SINGH

    TARANJEET SINGH

    @taranjeet-singh-mdq4QW Sep 4, 2009

    sorry neha1 I'm not getting you. please explain in detail. Do you want to say that u can't make con folder in uppercase????
  • namivrm

    namivrm

    @namivrm-w4iQGm Sep 5, 2009

    sorry.......... but it's not working in my system... can u please give me cause why it is not working...
  • safwan

    safwan

    @safwan-NH7W5Y Sep 5, 2009

    well, I welcome all newbies and other CEans for their enthusiasm but, I have same questions as English_scared 😡 Why are we needed the folder name CON. my second advice to people please

    DO FOLLOW THE RULES OF CE

    PLEASE DONOT POST YOUR PERSONAL CELLPHONE NOUMBER AND EMAIL id. ITS NOT ALLOWED ON CE .

    BUT YOU CAN use PM (personal message ) option if you require.😀
  • sarveshgupta

    sarveshgupta

    @sarveshgupta-txtmu5 Sep 8, 2009

    hey and just look how many times you have posted the same post of how to create a con folder dipanshu
    it is not allowed
  • neha1

    neha1

    @neha1-XOkqHl Sep 11, 2009

    hey taranjeet i m not able to name it con only..but CONcon is going well
  • dipen30

    dipen30

    @dipen30-hGOPpa Sep 11, 2009

    try this

    c:\>md\\.\c:\con

    delete that folder

    c:\>rd\\.\c:\con

    and enjoy
  • kanika_garg

    kanika_garg

    @kanika-garg-4cT8Du Oct 21, 2010

    Re: CON folder is possible

    hey m nt getting,if its a predefined keyword then hw it can b created after using that alt+255..can u plz tel me?
  • Varsha0802

    Varsha0802

    @varsha0802-YohNRX Oct 22, 2010

    try using d combination (alt+0160 ) - without brackets. it really works............
  • Kishan Gupta

    Kishan Gupta

    @kishan-gupta-IFXTPJ Oct 22, 2010

    Hi guys, I search on google and found these points at one of the site.

    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.


    Now to make con folder-

    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

    Explanation of this:

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

    It is just because of the UNC Path (#-Link-Snipped-#. 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.

    NOW I hope it is clear to everyone that what is real mystery behind this.😎
  • kanika_garg

    kanika_garg

    @kanika-garg-4cT8Du Oct 22, 2010

    hey jcksn thanx
    but we can also create these folders with alt+255.then what was that...how it wil make the change..??
  • kanika_garg

    kanika_garg

    @kanika-garg-4cT8Du Oct 22, 2010

    and also this command is not running at my machine...
  • whiz.kid.aniket

    whiz.kid.aniket

    @whizkidaniket-5IiBCq Oct 22, 2010

    Re: CON folder is possible

    kanika_garg
    hey m nt getting,if its a predefined keyword then hw it can b created after using that alt+255..can u plz tel me?
    if you press alt+255 (or alt + 160 for some comp.systems) you get a blank character, after that you type 'CON' which consists of 3 characters.

    ' CON'

    So there are total four characters (i.e 1.) Blank Character 2.) Letter 'C' 3.) Letter 'O' 2.) Letter 'N')

    Now these four characters you have created does not match with the original three!

    ' CON' is not equal to 'CON' (notice the blank character in first keyword)

    So this is how you can create CON folder.
  • Kishan Gupta

    Kishan Gupta

    @kishan-gupta-IFXTPJ Oct 23, 2010

    Thanks aniket.
  • yogi_333

    yogi_333

    @yogi-333-cMtiCe Jul 14, 2011

    Re: Creating con foder in windows !!!

    we can not create folder named con..............
    you create folder named con but it is not con it is <space>con.
  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Jul 14, 2011

    I sometimes wonder why there's so much of interest in creating a folder named 'CON' on desktop 😐
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Jul 16, 2011

    @Biggie: When you say people to do this, they might not do... But something if you say don't do and cannot do, they will try to achieve it, or at least, try towards it... 😁 Simple human nature, includes me... 😁
  • sachin bankar

    sachin bankar

    @sachin-bankar-tI6gke Jul 22, 2011

    Hi Dipanshu!
    Its niether working for me.
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Jul 23, 2011

    I guess this thread is worth for nothing...