Computer Hope

Microsoft => Microsoft Windows => Windows XP => Topic started by: #groff -Tascii -man yakub on June 06, 2008, 08:40:00 AM

Title: creating a folder with name "con"
Post 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
Title: Re: creating a folder with name "con"
Post by: Carbon Dudeoxide on June 06, 2008, 08:42:43 AM
I found this on Google.
LINK (http://www.hoax-slayer.com/con-folder-name.shtml)
Title: Re: creating a folder with name "con"
Post by: Dias de verano on June 06, 2008, 08:45:18 AM
reserved device name.
Title: Re: creating a folder with name "con"
Post by: piaaz on June 06, 2008, 08:59:20 AM
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
Title: Re: creating a folder with name "con"
Post by: Carbon Dudeoxide on June 06, 2008, 09:08:37 AM
ALT + 0160 gives a space as well.
Title: Re: creating a folder with name "con"
Post by: patio on June 06, 2008, 06:41:51 PM
Any reason you absolutely need a folder named con ? ?
Title: Re: creating a folder with name "con"
Post by: #groff -Tascii -man yakub on June 06, 2008, 09:22:27 PM
SORRY ....
  I JUST WANT TO KNOW THERE IS NO REASON!!!!!!!!
    THANL YOU
Title: Re: creating a folder with name "con"
Post by: Carbon Dudeoxide on June 06, 2008, 09:26:38 PM
No need to be sorry. Just glad we could be of some assistance.  ;)
Title: Re: creating a folder with name "con"
Post by: Broni on June 06, 2008, 09:27:38 PM
This is interesting....
Still, looking at Carbon's link, I'm familiar with mentioned there reserved device names:
Quote
# PRN
# AUX
# NUL
# LPT1
# COM1
# Potential drive letter - A: to Z:
but what does CON stand for, anyway?
The above article doesn't explain.
Title: Re: creating a folder with name "con"
Post by: Broni on June 06, 2008, 09:44:10 PM
*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
Title: Re: creating a folder with name "con"
Post by: Broni on June 06, 2008, 09:48:49 PM
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).
Title: Re: creating a folder with name "con"
Post by: Carbon Dudeoxide on June 06, 2008, 09:50:49 PM
I was just about to say that      ::)
Title: Re: creating a folder with name "con"
Post by: #groff -Tascii -man yakub on June 06, 2008, 09:59:48 PM
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
Title: Re: creating a folder with name "con"
Post by: Carbon Dudeoxide on June 06, 2008, 10:04:43 PM
Please don't use CAPS LOCK.  ;)

You can use ALT + 0160 to make unnamed files.

(http://www.fileupyours.com/files/185178/files.PNG)
Title: Re: creating a folder with name "con"
Post by: Broni on June 06, 2008, 10:11:46 PM
ALT codes: http://www.tedmontgomery.com/tutorial/ALTchrc.html
Title: Re: creating a folder with name "con"
Post by: Broni on June 06, 2008, 10:13:12 PM
Quote
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