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?
Answer:
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. Source: CoolInterview.com
Answered by: shiva | Date: 6/16/2008
| 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. Source: CoolInterview.com
Answered by: ManuShilpa | Date: 9/16/2008
| 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. Source: CoolInterview.com
Answered by: Muhammad | Date: 10/13/2008
| Contact Muhammad
we can create a folder with name con by first pressing alt and 255 and then type con. Source: CoolInterview.com
Answered by: pankaj soni | Date: 10/5/2009
| Contact pankaj soni
to create con file in E(suppose) drive, enter command prompt: c:>mkdir\.\c:\con
Please donot use space. Source: CoolInterview.com
Answered by: Ripon Patgiri | Date: 9/5/2010
| 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.
|