|
|
|
| Web Hosting Guide |
![]() ![]() |
You Cannot Create A File Named Con |
Feb 3 2006, 09:20 PM
Post
#1
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 18 Joined: 1-February 06 Member No.: 11,025 |
did you know, that on MS Word, you cannot name a document con? nobody can figure out why!
This post has been edited by miCRoSCoPiC^eaRthLinG: Feb 5 2006, 04:28 PM |
|
|
|
Feb 4 2006, 01:58 PM
Post
#2
|
|
|
Pretty please? Group: Members Posts: 733 Joined: 28-November 04 From: Holland Member No.: 1,552 |
CODE The filename "con" is a reserved device name Weird indeed. |
|
|
|
Feb 4 2006, 03:04 PM
Post
#3
|
|
|
Premium Member Group: Members Posts: 212 Joined: 7-October 05 From: RMIT University Member No.: 8,966 myCENTs:65.61 |
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 |
|
|
|
Feb 11 2006, 10:11 PM
Post
#4
|
|
|
Way Out Of Control - You need a life :) Group: [HOSTED] Posts: 1,267 Joined: 2-August 05 From: Kapellen (Antwerp, Belgium) Member No.: 7,585 myCENTs:4.00 |
QUOTE(teartrack_sos @ Feb 3 2006, 10:20 PM) [snapback]68726[/snapback] 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 |
|
|
|
Feb 12 2006, 10:55 AM
Post
#5
|
|
|
Little MechBirdie Group: Members Posts: 299 Joined: 23-March 05 From: Down here in Holland Member No.: 3,178 |
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=- |
|
|
|
Feb 13 2006, 08:30 AM
Post
#6
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 8 Joined: 13-February 06 Member No.: 11,256 |
[note=szupie]Please use QUOTE tags when quoting information.[/note]
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 This post has been edited by szupie: Feb 23 2006, 01:36 AM |
|
|
|
Feb 23 2006, 01:48 AM
Post
#7
|
|
|
Way Out Of Control - You need a life :) Group: Members Posts: 1,366 Joined: 14-September 04 From: Nottingham England Member No.: 570 |
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 |
|
|
|
Feb 23 2006, 09:07 AM
Post
#8
|
|
|
Premium Member Group: Banned Posts: 213 Joined: 2-July 05 Member No.: 6,781 |
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 |
|
|
|
Apr 10 2008, 11:05 AM
Post
#9
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
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 |
|
|
|
Sep 10 2008, 03:14 PM
Post
#10
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
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 |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
14 | rapco | 7,886 | 6th November 2009 - 07:14 AM Last post by: iG-Rajeesh |
|||
![]() |
5 | Niru | 3,729 | 5th November 2009 - 08:04 AM Last post by: iG-balajee |
|||
![]() |
22 | Feelay | 2,778 | 3rd November 2009 - 08:13 PM Last post by: starscream |
|||
![]() |
26 | signatureimage | 6,915 | 1st November 2009 - 12:13 PM Last post by: iG-tib |
|||
![]() |
15 | whistle | 4,554 | 31st October 2009 - 08:43 PM Last post by: iG- ringku2k |
|||
![]() |
14 | PureHeart | 9,878 | 30th October 2009 - 03:45 AM Last post by: iG-butter1093 |
|||
![]() |
14 | soleimanian | 4,202 | 28th October 2009 - 07:38 AM Last post by: starscream |
|||
![]() |
10 | yordan | 2,184 | 27th October 2009 - 11:31 PM Last post by: HannahI |
|||
![]() |
15 | gamerchick39 | 7,915 | 27th October 2009 - 11:27 PM Last post by: HannahI |
|||
![]() |
12 | avalon | 4,107 | 23rd October 2009 - 10:15 AM Last post by: iG-kkk |
|||
![]() |
10 | mimi_m | 8,775 | 18th October 2009 - 08:53 AM Last post by: iG-Eru |
|||
![]() |
31 | NilsC | 17,973 | 17th October 2009 - 02:28 PM Last post by: iG-lulz |
|||
![]() |
17 | vicky99 | 6,268 | 17th October 2009 - 11:51 AM Last post by: surfermac |
|||
![]() |
3 | dungsport | 2,543 | 14th October 2009 - 01:04 AM Last post by: iG-Vadim |
|||
![]() |
10 | bob3695 | 8,157 | 12th October 2009 - 06:38 AM Last post by: iG-Sewe Oyaya |
|||
|
Lo-Fi Version | Time is now: 8th November 2009 - 07:55 PM |
© 2009 AstaHost: Free Web Hosting & Technical Discussion, Free Web Hosting. a member of xisto.
Powered by Invision Board. Skin: IPB Forum Skins
Expand / Collapse Navigation



Feb 3 2006, 09:20 PM





