Wednesday 26 September 2012

How to create a CON folder in Windows

Can you create a folder named "CON” in windows?
The Answer is NO and YES!
Why the answer is NO.
NO because when create a new folder and try to rename it to any one of the above specified names, you know what happens! In Windows XP the folder name automatically changes back to "New Folder” no matter you try any number of times. Where as in Windows Vista/7 when you try to rename the file you get an error message "The specified device name is invalid”.

Why it is not possible to create a folder names CON?
Before we proceed further, let me tell you a small secret you can’t even create a folder named CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5,LPT6, LPT7, LPT8, and LPT9.and many others. YES the reason you can’t create a folder with these names is because these are reserved keywords used by DOS. The below list is taken from Microsoft’s website shows a list of reserved keywords in DOS.

NAME                         FUNCTION
CON                            Key board and display.
PRN                             System list device, usually a parallel port.
AUX                            Auxiliary Device, usually a serial port.
CLOCK$                     System real-time clock.
NUL                             Bit-bucket device.
A: - Z:                           Drive letters.
COM1                          First serial communication port.
LPT1                            First parallel printer port.
LPT2                            Second Parallel printer port.
LPT3                            Third Parallel printer port.
COM2                         Second serial communication port.
COM3                        Third serial communication port.
COM4                        Fourth serial communication port.

If you try creating a folder with any of these names, the name automatically changes back to the default "New Folder”. And this is what has caused the confusion. Instead of automatically renaming the folder, had an explanatory warning message popped up. Yes we can create a folder named CON. There is actually a way to create a folder named CON, or any other name from the above list of reserved keywords. This can be done through command prompt. But it is advisable not to do so, as it might result in your system becoming unstable. To create a folder named CON, go to command prompt and type "MD \\.\E:\CON” (without quotes). This will create a folder named CON in E:.
You cannot delete this folder by normal delete. To delete the folder, again go to command prompt and type
"RD \\.\E:\CON” without quotes.

36 comments:

  1. Dzisiaj rynek możliwości rachunkowych nie moiż narzekać na
    brak popularności. To wszystko ze względu na fakt, iż coraz więcej ludzi jest w stanie zdecydować się na
    założenie prywatnej firmy. Takie wyjście będzie dla licznych
    ludzi niezwykle kuszące, ponieważ oczywiste jest, że dobrze jest zostać szefem
    samym dla siebie. Generalnie z założenia swojej firmy wynika bardzo dużo obowiązków,
    jakie mogą pociągnąć do odpowiedzialności każdego z przedsiębiorców.
    W szczególności na tle podatkowym. Jednak, wówczas gdy korzysta on z możliwości dobrego biura
    rachunkowego, to nie będzie musiał się niczym zamartwiać.
    Feel free to visit my web blog :: extor ul. wyrzyska

    ReplyDelete
  2. Asking questions are in fact good thing if you are not understanding anything totally,
    except this piece of writing gives fastidious understanding yet.


    My weblog - puregreencoffeediet.webs.com

    ReplyDelete
  3. Much agreed. Anytime I go on %source_url&%, I find a website that is enlightening and thought-provoking.
    . It's definitely helpful to study posts from fellow authors and implement certain things from other blogs.

    Feel free to visit my weblog: davev76.altervista.org

    ReplyDelete
  4. Howdy, I discovered your blog on http://1000hackingtuts.
    blogspot.com/ at the same time as looking for a related topic,
    your website came up, it seems good. I've bookmarked it in my google bookmarks.

    Have a look at my web page - wounded

    ReplyDelete
  5. Hey there, my name's Mark and I sometimes blog about this subject too. Actually, if I may, let me ask you something.. Is it just me or does it look as if some of the comments appear they are coming out of brain dead individuals? :-P And, if you're posting on more social
    sites like web 2.0 site list, I want to keep up to date with you.

    Can you put up a list of every one of your shared sites like your Twitter, Facebook page or linkedin
    profile?

    Also visit my web page ... diabloscorner.com

    ReplyDelete
  6. After taking a look at several of the blog posts on your site
    (for almost 4), hours I honestly like your method of blogging.
    I bookmarked it as well so that I can keep up with it on a
    regular basis. Have a look at my web site also and tell me how you feel.


    Feel free to visit my web site Erfindung

    ReplyDelete
  7. Hey there, my name is Kristin and I'm a fellow blogger out of Ludwigshafen Am Rhein Mundenheim, Germany. I like what you guys are up to. Coming upon Blogger: Hacking Tuts was refreshing and helpful in terms of writing and work. Continue the nice work guys: I’ve incorporated you guys to my blogroll. I'm sure it will boost the worth of my
    web site.

    my weblog ... confondere

    ReplyDelete
  8. I've already been on the net now for nearly eight today, and once I came across blogger.com on http://1000hackingtuts.blogspot.com/, I was very pleased to.. Honestly, I think that if more bloggers and siteowners introduced content like yours, the internet would be even more useful than it now is.

    My web blog: garabato

    ReplyDelete
  9. Definitely take joy in what you've got here, grateful you're getting it out there
    and what you have to say. Your article was excellently balanced between
    amusing and intelligent. I can't wait to learn even more thanks to you. Your website is undoubtedly one of the better blogs out there right now.

    My weblog; nami

    ReplyDelete
  10. Howdy! You some sort of professional? Great message.
    Can you tell me methods to subscribe your blog?


    My homepage :: having trouble getting pregnant with second baby

    ReplyDelete
  11. My sis advised me about your web site and how nice it is.
    She’s proper, I'm really impressed with the writing and slick design. It appears to me you’re simply scratching the surface by way of what you can accomplish, however you’re off to an amazing begin!

    My blog: having trouble getting pregnant at 40

    ReplyDelete
  12. It has been disheartening to find out how that the majority locations
    do not possess an big money from the, minimum however definitely
    one uncover. One particular males Kisumu sandal with sweets nubuck has this great only possible due to walking the dog
    as well as two coarse straps which facilitate largeur services
    to the boot. The facts that you get? Espressos use a
    great deal more pure caffeine in comparison to espresso.

    organizing the bit more deferred at the table, as you may atmosphere made to drink that will.


    Here is my homepage - keurig elite single serve coffeemaker - coffeemakersnow.com -

    ReplyDelete
  13. You ought to searching for Viatropin to use the services of string and ostricist while working your manner op the difficult battles. do no longer be fearful of using your electricity to conquer the forces of darkish forces of middle earth.For more ==== >>>>>> http://www.premiumpureforskolinrev.com/viatropin-scam/

    ReplyDelete
  14. Whether or not you attempted Alpha Man Pro to win over a cussed customer or looking to electrify the relaxation of your colleagues together with your ideas, the secret is to choose clothes that ooze self assurance. experience assured as well as appearance it by means of choosing slimming styles that you're feeling comfortable sporting.For more ==== >>>>>> http://www.healthsupreviews.com/alpha-man-pro-scam/

    ReplyDelete
  15. I advocate locating a plan Genius X developed by using a good medical professional or a body detoxification expert to insure a healthful revel in.For more ==== >>>>>> http://realcemasculinobr.com/genius-x-efeitos-colaterais/

    ReplyDelete
  16. In the end diagnose your Zynev credit card circumstance in accordance with the above. while all the factors are checked out together then you'll be able to see how and why your debt has come into being. handiest then are you able to start to remedy the problem.For more ==== >>>>>> http://t-rexmuscleadvice.com/zynev-male-enhancement-scam/

    ReplyDelete
  17. Every other interesting Addys Focus weight reduction boot camp feature is, tae bo. it's far a quick, speedy aerobics recurring which is a medley of resistance training, army cadence and martial artwork moves. this will increase cardiovascular health and promotes flexibility in the body.For more ==== >>>>>> http://t-rexmuscleadvice.com/addys-focus/

    ReplyDelete
  18. Juggernox If this headline captured your eye,Juggernox I suppose you desire that i am going to inform you the answer to what you should purchase Juggernox protein supplementation for muscle boom. regrettably, i'm now not, I not a supporter of 1 item or any other. For more ==== >>>>>> http://boostupmuscles.com/juggernox/

    ReplyDelete
  19. Apex Vitality Enhance XL the main male yeast Apex Vitality Enhance XL contamination symptom that may be located to maintain genuine is elevated digestive problems. at the side of digestive issues come all different related issues. because of this when you have a problem that could be a result of.For more ==== >>>>>> http://www.strongtesterone.com/apex-vitality-enhance-xl/

    ReplyDelete
  20. Juvalux Anti Aging Cream for example products that contain Phytessence Wakame and CoenzymeQ10 Juvalux Anti Aging Creamare effective and natural pores and skin care remedies that paintings, and don't incorporate nasty chemical substances. both these components are certainly happening. For more ==== >>>>>> http://www.skinshining.com/juvalux-anti-aging-cream/

    ReplyDelete
  21. The purpose for the identical and Nitro MXS use surgical methods if essential.psychological or behavioral factors: in a large percent of infertility cases, couples cannot conceive regardless of any obvious motives. Such instances are contributed through.For more ==== >>>>>> http://www.healthsupreviews.com/nitro-mxs/

    ReplyDelete
  22. Devour greater protein if you areJuggernox severe about building extra muscle then you definately are going to want to boom your intake of protein, even as decreasing the carbs which you are eating. The frame can use protein to assist construct muscle, at the.For more ==== >>>>>> http://jackedmuscleextremeadvice.com/juggernox/

    ReplyDelete
  23. Gropping your enamel, gum disorder Eco Maxx has been related to coronary heart attacks and strokes. So brush and floss often and go for regular checkups. you may simply decorate your look with superb white enamel, and also you do not want to pay a fortune to have it.For more ==== >>>>>> http://www.skinshining.com/eco-maxx-anti-aging-cream/

    ReplyDelete
  24. Corporate transfers there are numerous corporations, which are providing these offerings and one in every of them is MelbourneCorporate transfers Airport Transfers.Melbourne Airport Transfers offers the corporate switch, Airport Transfers, special occasions, wedding ceremony, tours and parcel transport. it's far ranked primary for presenting the Airport Limo switch services within the Melbourne. www.limotransfers.com.au

    ReplyDelete
  25. or they will be back at your requests for statistics on their expertise.iphone repair regina some mobile phone restore jobs may be completed at domestic with the aid of following the precise instructions on many cell sites set up for this reason. http://canwestcellular.ca

    ReplyDelete
  26. I found your blog on a random search and found your article very interesting and appealing.
    Keep up the good work.
    This may help your readers more what is dos operating system

    Thanks

    ReplyDelete
  27. Do you need to increase your credit score?
    Do you intend to upgrade your school grade?
    Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
    Do you need any information concerning any database.
    Do you need to retrieve deleted files?
    Do you need to clear your criminal records or DMV?
    Do you want to remove any site or link from any blog?
    you should contact this hacker, he is reliable and good at the hack jobs..
    contact : cybergoldenhacker at gmail dot com

    ReplyDelete