Computer Hope
Microsoft => Microsoft Windows => Windows XP => Topic started by: #groff -Tascii -man yakub on June 06, 2008, 08:40:00 AM
-
hai this is yakub
i have a doubt that is
why we can't create a folder with name "con"
what is the reason for this
plaform-windows
-
I found this on Google.
LINK (http://www.hoax-slayer.com/con-folder-name.shtml)
-
reserved device name.
-
espective Source: http://kerneltrap.org/node/5772
We can create a folder named CON or LPT or COM by a simple way.
Right click and do create folder process. While naming the folder, type 'CON' and type c55 in the numpad holding the alt button.
EX 'CON' + (hold atl + '255').
This process would create a folder named CON and a space with it. You cannot explicitly give a space because windows cuts off the excess spaces before or after the name.
Although I have tried it myself, I don't think it actually work...here is what I have tried..create a folder on desktop, rename it to "ALT+255"....that works, OS thinks "ALT+255" is a character there for it allows it, so "CON" and ALT+255 it not actually only "CON" , I hope you understand what I'm trying to relay.
Cheers
-
ALT + 0160 gives a space as well.
-
Any reason you absolutely need a folder named con ? ?
-
SORRY ....
I JUST WANT TO KNOW THERE IS NO REASON!!!!!!!!
THANL YOU
-
No need to be sorry. Just glad we could be of some assistance. ;)
-
This is interesting....
Still, looking at Carbon's link, I'm familiar with mentioned there reserved device names:
# PRN
# AUX
# NUL
# LPT1
# COM1
# Potential drive letter - A: to Z:
but what does CON stand for, anyway?
The above article doesn't explain.
-
*censored*, they always hook me on something....
There is another way to create "con" directory.
At Command Prompt, type:
mkdir \\.\c:\con
I just tried it, and it works.
Interestingly, you can't remove that directory by just deleting it through Windows Explorer. Delete command returns an error: directory doesn't exist on C drive anymore. Strangely enough, I can move files to, and from it.
To remove "con" directory, at Command Prompt, type in:
rmdir \\.\c:\con
-
You guys think, I have nothing to do?
Finally, I found the answer to my own question:
CON is short for CONsole and consists of the keyboard (input) and the display (output).
-
I was just about to say that ::)
-
WHAT IS THE DIFFERANCE BETWEEN ALT+0160 & ALT+255
WHAT THE NUMBERS REFERCE TO
HOW CAN I USE THE NUMBERS LIKE 255 & 0160 FOR THE OTHER PURPOSES
-
Please don't use CAPS LOCK. ;)
You can use ALT + 0160 to make unnamed files.
(http://www.fileupyours.com/files/185178/files.PNG)
-
ALT codes: http://www.tedmontgomery.com/tutorial/ALTchrc.html
-
I was just about to say that
Yeah, but you didn't, and I had to spend 10 minutes, looking for it...LOL
Surely enough, when I found it, I kicked my head, it was so obvious...LOL