Nov 21, 2009
Pages: 1, 2

You Cannot Create A File Named Con

free web hosting
Open Discussion & Free Web Hosting > General Discussion > Computer Talk

You Cannot Create A File Named Con

teartrack_sos
did you know, that on MS Word, you cannot name a document con? nobody can figure out why!

Comment/Reply (w/o sign-up)

jipman
CODE
The filename "con" is a reserved device name

Weird indeed.

Comment/Reply (w/o sign-up)

PureHeart
Hey, CON is for keyboard input. It's a special file, used as input stream by keyboard.

Do you remember this classical DOS command:

c:\>copy con file.ext

Comment/Reply (w/o sign-up)

wutske
QUOTE(teartrack_sos @ Feb 3 2006, 10:20 PM) *

did you know, that on MS Word, you cannot name a document con? nobody can figure out why!


Funny you say that, I noticed that too a week ago cool.gif , pretty strange if you ask me, but they'll have there reasons I guess (nostalgic? lazy? or just plain stupid? tongue.gif )

 

 

 


Comment/Reply (w/o sign-up)

warbird
This exploit was used years ago in websites to make computers crashing. They simply written a piece of html that redirected you automaticaly to c:\con\con. Because this directory can't exist the computer crashed instead of showing a file not found error. This only worked with IE until version 5.0, after that the bug got fixed, but it was quite annoying to get everytime a blue screen. I tried it out with an old computer of mine and it really worked!
Don't try this at home: it can cause serious damage!

-=jeroen=-

Comment/Reply (w/o sign-up)

cinthia
Notice from szupie:
Please use QUOTE tags when quoting information.


QUOTE
File names in Windows XP Professional can be up to 255 characters and can contain spaces, multiple periods, and special characters that are not allowed in MS-DOS file names. Windows XP Professional makes it possible for other operating systems to access files that have long names by generating an MS-DOS-readable (8.3) name for each file. These MS-DOS-readable names also enable MS-DOS-based and Windows 3.x?based applications to recognize and load files that have long file names. When a program saves a file on a computer running Windows XP Professional, both the 8.3 file name and long file name are retained.

Note

* The 8.3 format means that files can have between 1 and 8 characters in the file name. The name must start with a letter or a number and can contain any characters except the following: * . " / \ [ ] : ; | = , * ? (space) * An 8.3 file name typically has a file name extension that is from one to three characters long and has the same character restrictions. A period separates the file name from the file name extension. * Several special file names are reserved by the system and cannot be used for files or folders: * CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL.


source: http://www.ammas.com/a1/contrib/home.cfm?r...d=10&tid=110707


=======================

QUOTE
Method of creating folder/file in following ways:

We can do this by following method
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"

source: http://mjsabby.com/2005/10/windows-xp-con-folderfile-bug.php

Comment/Reply (w/o sign-up)

qwijibow
POSIX dictates that special device files like this should all go in the /dev/ directory.

Why doesnt MS follow even the simple rules, it must be obviouse that having these secial device files in every folder will be hazardous..

just imagine if this was the case with unix, and you made a copy of an email called hda.
goodbye partiton table smile.gif


Comment/Reply (w/o sign-up)

broli
Haha that's neat, I never knew this before. So con was really a way for people to make an easy way to mess up someone's computer? That's pretty neat and crazy at the same time. I'm suprised though that you couldn't make a file named con. Just kinda like one of those old programs I used where I couldn't use cuss words >_<

Anyways, new to me really. I wonder if there's anything else that is blocked from being used as the title and stuff XD

Comment/Reply (w/o sign-up)

FeedBacker
y v cannot create folder with name con??
You Cannot Create A File Named Con

There is no wonder in that...There is some words like con,com1,com2,clock$ we cannot use as folder name bcoz those words are reserved word by OS..For ex in c,c++ we cannot use else,if are keyword like that only..Those words are some standard device used by OS
Clock$-->system clock
Con-->console
Aux,com1-->first serial port
Com2,com3-->second,third serial port
Lpt1-->first parallel port
Nul-->dummy port


-reply by 7malai

Comment/Reply (w/o sign-up)

iGuest-unknown
Help!!! i created a con file!!!!!!!
You Cannot Create A File Named Con

I heard on the internet that you couldent createb a con file so I tried it out... First I made a new folder and changed the name to "con".

It diddent worke and the folder was still called new folder so I tried to call it "con." this time it gave me an error message and I klicked ok. Then I tried to call it con... (don't ask why probably out of pure boredom) and it worked :P the file was named con (not con...) well when I tried to delete the con file it gave me an error message it said cant delete data: data cant be read from datasource.
And now I'm stuck with this con file on my desktop.
HELP Please!

PS: I cant move it to an other folder, it has 0 bytes and the path is the correct one

-reply by unknown

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : create, file, named, con

  1. File Storage Question?
    (4)
  2. Need Correct Program To Open MD5 File In Windows XP
    (7)
    Somehow I changed how an MD5 file gets opened and it now gets opened with windows media player.
    I've gone to Control Panel>Folder Options>File Types, but there is no restore to default. The
    only restore to default is under Folder Options>General, and I've tried that and it doesn't
    change it. I am trying to re-install my Xammp because it isn't working, and Xammp installer
    opens with an MD5 file, so I have a problem here. Does anyone know the program that opens an MD5
    file for Windows XP?....
  3. Find Out A Files Original File Type
    (6)
    Hi, is there any way to find out a file's original file type/extension? My friend gave me this
    song from a Chinese series and I had to play around with the extensions until I got it working (made
    it .wmv). He doesn't even know the original format, but I'm guessing he's using wmv to
    use it also. I tried naming it to .mp3 and .wma to see if those work...both failed. I like to keep
    all my audio files as mp3 files. Was going to look for a program to convert it to mp3, but have a
    question. I highly doubt this file was originally a .wmv file since it's jus....
  4. What Is .att File? And Which Program Use To Open It?
    (1)
    what is .ATT file? and which program use to open it? in order to view it properly???....
  5. MD5 File? Need Help...
    (4)
    I have posted this somewhere before a while back, but seemed to get nowhere. I looked in the
    search, but it kept giving me an error. I'm not exactly sure how to use search. Anyway, I
    accidently changed the program that opens MD5 files. Someone told me to go to Start>Control
    Panel>Folder Options>File Types and find the MD5 file and just restore it to it's default.
    Well, there is no option for that. I was just wondering if someone could go to folder options and
    tell me what it is that opens it. I am trying to download XAMMP, but it is in MD5 form. I am not....
  6. Win Xp: Network File Sharing
    file sharing over network (9)
    How would i get a folder to be shared over my home network. Because i keep having to send things
    through messenger witch gets really anoying. Any suggestions will be helpful.....
  7. File Sharing
    (4)
    there is alot of controversy about file sharing programs and whether they should be legal or not.
    Although in the contract that users must sign before being able to use the program the company
    promises not to give out any personal information or sell you out to spyware. but recent
    developments have been arising that users that are using kazza have been being sold out to spywhere
    and are now facing multimillion lawsuits. has anybody else heard of this happening to people? if so
    is there any way that you acn keep from being sold out to spyware?....
  8. Batch Challenge
    Find the password in the file (Easy) (18)
    Astahost I have fallen into the likeing of Hacking Challenges and made my own. Its very easy if you
    know how to edit batch files. Please do not give to many hints and please if you find the password
    in the file PM me it and do not post it here. Ill edit this post with the names of people who have
    completed the challenge. Now for the file Challenge Good Luck People who have completed my
    challenge Jipman vizskywalker Dragon5225 Moonwitch wanhafizi Philywiskaz overture
    runefantasy operator goose ....
  9. How To Use A .bin File To Create Cd
    (5)
    Hi, i just downloaded a .bin file with limewire ( 1st cd of a game). Now the problem... how can i
    use this .bin file to create a cd image??? please help....
  10. How Can I Open A *.sit File
    (12)
    I just down a *.sit file. how can I open it?? Which program should I use??....

    1. Looking for create, file, named, con

See Also,

*SIMILAR VIDEOS*
Searching Video's for create, file, named, con
advertisement



You Cannot Create A File Named Con

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com