English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

answer this and become a computer wizard..

2007-01-28 20:33:52 · 10 answers · asked by Anonymous in Computers & Internet Programming & Design

10 answers

"Do not use the following reserved device names for the name of a file: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed by an extension, for example, NUL.tx7."

These words mean devices behaving like files in some ways and are therefore reserved. Folders obey filename rules. But you can trick the system using a low level tool and create an unusable file or folder. You could use it for a copy protection for instance.

If you really need a folder named CON, then use "CON". This works and looks like CON because Alt-255 looks like space but is different.

2007-01-28 20:51:34 · answer #1 · answered by Serban 2 · 1 1

Nope?
Bcoz,
it conflics with the Existing Executable Files.
Like that there r a list of Executables Present and Registerd with registry.

U cannot Create those as Folders nor Files.

Here are some of the Examples......
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

2007-01-30 06:11:37 · answer #2 · answered by Ravi Nanjunda Rao 3 · 0 0

You cannot create a folder named "CON" if you are using a Windows based operating system, because the label "con" is used for the system OS and is reserved for the Console Device required by the system to operate.

It came from back in the DOS days where con is a reserved device name. Back in the day you would use "copy con > filename" to copy text you typed into the file "filename".

Try making a folder named PRN. lol, same deal... it's for printer data.

Microsoft still uses some old DOS code as a basis for products they make today.

2007-01-29 04:43:17 · answer #3 · answered by Jake 2 · 0 1

No

because,Windows will normally not allow this one to happen. So u cant do it in explorer. The reason is that con, prn, lpt1..lpt9, etc are underlying devices from the time dos was written..
con means console
prn means printer
.....
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.
i mean if i want to print something, internally what windows does is it will write the data to the folder(virtually u can call it a folder, i mean prn, con, etc are virtual folders in device level) prn.
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.
The work around we do here is make the folder network associated folder, ie md \\.\C:\con is no more a windows folder, even if it behaves somewhat to be.

2007-01-29 04:45:59 · answer #4 · answered by Sri Hari 2 · 0 2

On Windows systems, several keywords are reserved and cannot be used as filenames.

CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

Also avoid these names followed by an extension, for example, NUL.tx7

Attempting to create a folder with one of these names using mkdir will throw the unhelpful error "Invalid argument".

2007-01-29 04:52:49 · answer #5 · answered by Sunil Saripalli 5 · 0 1

CON is an old DOS substitute for Console; so we are unable to create a folder by the same name.

In fact there are several other special system variables that Windows does not let one create folder names with.
e.g. NUL, COM1 etc

2007-01-29 04:48:44 · answer #6 · answered by Arnold M 2 · 0 1

Search the previous answers here at Y!Answers (this question has been asked many many times before - you're not as original as you might like to think!).

If you had the wit to perform this search for yourself, YOU would be a computer wizard.

2007-01-29 04:59:19 · answer #7 · answered by Anonymous · 1 0

you can create a folder named "CON" follow the below steps.
STEP1: goto command prompt
type in prompt c:\> "mkdir \\.\c:\con" and go to this link http://blogs.netindonesia.net/maya/archive/2005/11/04/7798.aspx

2007-01-29 04:51:41 · answer #8 · answered by Divya K 4 · 0 2

try this......

found how to create a folder or file named CON , LPT1 , COM1 etc...

STEP1: goto command prompt

STEP2: type in prompt e:\> "mkdir \\.\e:\con"

STEP3: verify by typing "dir \\.\e:\con"

STEP4: delete the file or folder "rmdir \\.\e:\con"

2007-01-29 05:15:01 · answer #9 · answered by Anonymous · 0 1

try :-

first go to command prompt and then
use:-

md\\.\c:\con
to make folder con in c drive....
and remove by
rd\\.\\c:\con

bye....
any more problem write it here or contact me.....

2007-01-31 08:32:06 · answer #10 · answered by Tarun J 2 · 0 0

fedest.com, questions and answers