CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS MICROSOFT DETAILS
    Question :
    How to create a folder named "con".When Type the name for a folder as con it does not accept it. What is the reason?

    Posted by: Vivek on 6/9/2008

    Contact Vivek Contact Vivek
    Category Microsoft Interview Questions
    Rating (0.5) By 378 users
    Added on 6/9/2008
    Views 2258
    Rate it!
    Answers:

    It cannot be named as con because OS has some spl file named as con, so we cant... but we can do it by using a space or any invisible character before or after the end of con.



    Posted by: shiva    

    Contact shiva Contact shiva

    Such files are considered to have an extension but no name. If the extension is known and the user has chosen to hide known extensions, the resulting file would have no name at all!

    If you really want to create a file with a leading dot in its name, you are free to do so. You can do it from the command line or use your favorite file management tool. And then you can watch the file show up with no name and then observe the confusion that ensues. Maybe you're lucky and don't run any programs that freak out when a file has no name. If so, then more power to you.



    Posted by: ManuShilpa    

    Contact ManuShilpa Contact ManuShilpa

    You can not use "con" as a name since the Operating System is using it for other issues like device name, ...etc, Also you can not use (PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 ) in WinXP not giving you error but now with Win Vista it is giving you error message.



    Posted by: Muhammad    

    Contact Muhammad Contact Muhammad

    we can create a folder with name con by first pressing alt and 255 and then type con.



    Posted by: pankaj soni    

    Contact pankaj soni Contact pankaj soni

    to create con file in E(suppose) drive, enter command prompt:
    c:>mkdir\.\c:\con

    Please donot use space.



    Posted by: Ripon Patgiri    

    Contact Ripon Patgiri Contact Ripon Patgiri

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    How to find the difference between dates.(Year, Month, Day
    )?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Microsoft Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 1.890625 Seconds