Home / Microsoft / Microsoft Windows / Windows XP / creating a folder with name "con"
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: 1 2 [All] - (Bottom) Print
Author Topic: creating a folder with name "con"  (Read 5508 times)
#groff -Tascii -man yakub
Topic Starter
Rookie



Posts: 44


« 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
IP logged
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #1 on: June 06, 2008, 08:42:43 AM »

I found this on Google.
LINK
IP logged

Dias de verano
Guest
« Reply #2 on: June 06, 2008, 08:45:18 AM »

reserved device name.
IP logged
piaaz
Rookie



Posts: 49


« Reply #3 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
IP logged
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #4 on: June 06, 2008, 09:08:37 AM »

ALT + 0160 gives a space as well.
IP logged

patio
Moderator
Genius



Thanked: 1069
Posts: 11,354

Experience: Beginner
OS: Windows 7


Maud' Dib

« Reply #5 on: June 06, 2008, 06:41:51 PM »

Any reason you absolutely need a folder named con ? ?
IP logged

   
"
All generalizations are false, including this one.  "
#groff -Tascii -man yakub
Topic Starter
Rookie



Posts: 44


« Reply #6 on: June 06, 2008, 09:22:27 PM »

SORRY ....
  I JUST WANT TO KNOW THERE IS NO REASON!!!!!!!!
    THANL YOU
IP logged
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #7 on: June 06, 2008, 09:26:38 PM »

No need to be sorry. Just glad we could be of some assistance.  ;)
IP logged

Broni
Mastermind


Thanked: 610
Posts: 28,751

Computer: Specs
Experience: Experienced
OS: Windows Vista


Kraków my love :)

Computer Help Forum
« Reply #8 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.
IP logged

Broni
Mastermind


Thanked: 610
Posts: 28,751

Computer: Specs
Experience: Experienced
OS: Windows Vista


Kraków my love :)

Computer Help Forum
« Reply #9 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
IP logged

Broni
Mastermind


Thanked: 610
Posts: 28,751

Computer: Specs
Experience: Experienced
OS: Windows Vista


Kraków my love :)

Computer Help Forum
« Reply #10 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).
IP logged

Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #11 on: June 06, 2008, 09:50:49 PM »

I was just about to say that      ::)
IP logged

#groff -Tascii -man yakub
Topic Starter
Rookie



Posts: 44


« Reply #12 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
IP logged
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 146
Posts: 16,087

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #13 on: June 06, 2008, 10:04:43 PM »

Please don't use CAPS LOCK.  ;)

You can use ALT + 0160 to make unnamed files.

IP logged

Broni
Mastermind


Thanked: 610
Posts: 28,751

Computer: Specs
Experience: Experienced
OS: Windows Vista


Kraków my love :)

Computer Help Forum
« Reply #14 on: June 06, 2008, 10:11:46 PM »

ALT codes: http://www.tedmontgomery.com/tutorial/ALTchrc.html
IP logged

Broni
Mastermind


Thanked: 610
Posts: 28,751

Computer: Specs
Experience: Experienced
OS: Windows Vista


Kraków my love :)

Computer Help Forum
« Reply #15 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
IP logged

Pages: 1 2 [All] - (Top) Print 
Home / Microsoft / Microsoft Windows / Windows XP / creating a folder with name "con" « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.118 seconds with 20 queries.