Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 19-06-2005, 07:04 PM   #1 (permalink)
The No.1 Stupid
 
~Phenom~'s Avatar
 
Join Date: May 2005
Location: CYBERYARD
Posts: 1,708
Default can u name it????


hi friends,

recently, i found out one strange thing in PCs.

I created a new folder and wanted to name it as "contest" but accidently pressed enter just after writing "con" and to my surprise , the folder didnt get renamed as con , rather it turned back to" new folder " .

i tried it again and again but i couldnt name that folder as "con"

i tried it on many computers having XP installed but same result.

i wanna know , why this happens??

its really strange.

please tell me the reason and solution
__________________
n00b forever...
~Phenom~ is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 19-06-2005, 07:26 PM   #2 (permalink)
Distinguished Member
 
anandk's Avatar
 
Join Date: Mar 2005
Location: Pune
Posts: 3,783
Default

u r right. same result here.
dont no y.
but i guess ur find can b classified as 'original'.
__________________
> www.TheWindowsClub.com <
= www.WinVistaClub.com =
Microsoft® MVP
anandk is offline  
Old 19-06-2005, 07:27 PM   #3 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

humm... right..... i also can creat any folder named con.... at any were....

may be because in the command promt rather known as dos command there is a copy "con" command.... may be this is dew to that....

but i am not sure atll.... wait for others.....
Choto Cheeta is offline  
Old 19-06-2005, 07:29 PM   #4 (permalink)
Let the music play.....
 
djmykey's Avatar
 
Join Date: Dec 2003
Location: Pune
Posts: 665
Default

Nice find dood didnt believe it but tried it and was :O wow man didnt know something like this would have been there in XP
__________________
Long back, a person who sacrificed his sleep, forgot his family, forgot his food, fogot laughter were called "Saints"
But now they are called.."IT professionals"
djmykey is offline  
Old 19-06-2005, 07:31 PM   #5 (permalink)
The Hardware Labs
 
mohit's Avatar
 
Join Date: Feb 2005
Location: Raipur, India.
Posts: 1,546
Default

not working on my sys also ... have u tried it in win 98 ? anybody with win98 plz check it out. and this is an interesting piece of info... this shud in the next months "take a crack - make a folder named con in xp" ....lol.
mohit is offline  
Old 19-06-2005, 08:02 PM   #6 (permalink)
vishal_bhatia87
Guest
 
Posts: n/a
Default

same results in mine xp also, Bye the way great find rajrulesdear.
 
Old 19-06-2005, 08:20 PM   #7 (permalink)
Human Spambot
 
expertno.1's Avatar
 
Join Date: May 2005
Location: Expert Planet
Posts: 2,480
Default

hmmmmm. it seems a bug or soething else in xp

just upgrade your xp to sp2 and then try
__________________
Off From Digit Forum for some months.....busy
expertno.1 is offline  
Old 19-06-2005, 08:58 PM   #8 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

Quote:
just upgrade your xp to sp2 and then try
same result.... cant be named as CON
Choto Cheeta is offline  
Old 19-06-2005, 08:59 PM   #9 (permalink)
The Hardware Labs
 
mohit's Avatar
 
Join Date: Feb 2005
Location: Raipur, India.
Posts: 1,546
Default

Quote:
Originally Posted by expertno.1
hmmmmm. it seems a bug or soething else in xp

just upgrade your xp to sp2 and then try
i am already using xp sp 2 with all latest updates and still cannot do it.
mohit is offline  
Old 19-06-2005, 09:03 PM   #10 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

talk about finding na.... see what i have came up with..... try this names... they wont wokr also...

CLOCK$
AUX
COM!
COMn
LPT1
PRN
NUL
CONFIG$


why not.... as they are reserved words used for DOS Devices.....

CLOCK$ => System clock
CON => Console; combination of keyboard and screen to handle input and output
AUX or COM1 => First serial communicationport
COMn => Second, Third, ... communicationport
LPT1 or PRN => First parallel port
NUL => Dummy port, or the "null device" which we all know under Linux as /dev/null.
CONFIG$ => Unknown
Choto Cheeta is offline  
Old 19-06-2005, 09:06 PM   #11 (permalink)
In The Zone
 
Join Date: May 2004
Location: New Delhi
Posts: 283
Default

Quote:
Originally Posted by saurav_cheeta
try this names... they wont wokr also...

CLOCK$
AUX
COM!
COMn
LPT1
PRN
NUL
CONFIG$
ok.....now u killed all the fun!!!
sahil_blues is offline  
Old 19-06-2005, 09:09 PM   #12 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

well i have edited my post with some answer.... what i know... may be i am wrong.... correct me if i am......
Choto Cheeta is offline  
Old 19-06-2005, 09:12 PM   #13 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

Quote:
Originally Posted by Sahil
ok.....now u killed all the fun!!!
why mate.... i think the fun just have begain.... try, try & try more to find more of this.... thats how the funs begains... isnt it... lol....
Choto Cheeta is offline  
Old 19-06-2005, 09:35 PM   #14 (permalink)
Ignorance is BLISS !!
 
Join Date: Oct 2004
Location: 127.0.0.1
Posts: 566
Default

WOW !!!

Great find ppl
Way 2 go !!

We need more of these !
rajkumar_personal is offline  
Old 19-06-2005, 09:47 PM   #15 (permalink)
Alpha Geek
 
q3_abhi's Avatar
 
Join Date: May 2005
Location: Q3DM17
Posts: 711
Default

saurav_cheeta - a great Discovery.
Ur really gr8.
q3_abhi is offline  
Old 19-06-2005, 09:51 PM   #16 (permalink)
In The Zone
 
Join Date: Feb 2004
Location: Pearl City, Hyderabad.
Posts: 346
Default

I was able to name a folder CLOCK$ it worked for me. the rest didnt work. Saurav watch out.

This is what Microsoft have to say Regarding File Names in Windows XP Professional
__________________
Raj® Anyone else is not me...!!!
rajas is offline  
Old 19-06-2005, 10:00 PM   #17 (permalink)
Ashwin Saxena
Guest
 
Posts: n/a
Default

Whackroony.
Same here. I think it is a big easter egg from microsoft.
But its funny too.
 
Old 19-06-2005, 10:44 PM   #18 (permalink)
The No.1 Stupid
 
~Phenom~'s Avatar
 
Join Date: May 2005
Location: CYBERYARD
Posts: 1,708
Default

well thanks guys for such good response

and the link provided by rajas answered my question

now , i know con is reserved system name , hence it cant be used to name a folder or file

thanx rajas
__________________
n00b forever...
~Phenom~ is offline  
Old 20-06-2005, 01:14 PM   #19 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

Quote:
Originally Posted by rajas
I was able to name a folder CLOCK$ it worked for me. the rest didnt work. Saurav watch out.

This is what Microsoft have to say Regarding File Names in Windows XP Professional
watch out what?? as u found it on the web.... & i found it on the WINXP guide book came with my winXP corporate edition..... so thats why i cant give the link for the source....
Choto Cheeta is offline  
Old 20-06-2005, 01:43 PM   #20 (permalink)
Just Do It
 
Charley's Avatar
 
Join Date: Feb 2005
Location: Bangalore
Posts: 2,125
Default

Quote:
Originally Posted by mohit
not working on my sys also ... have u tried it in win 98 ? anybody with win98 plz check it out. and this is an interesting piece of info... this shud in the next months "take a crack - make a folder named con in xp" ....lol.
No prob wit Win98. Can create it.
Charley is offline  
Old 20-06-2005, 05:53 PM   #21 (permalink)
Broken In
 
Join Date: May 2004
Posts: 101
Default

Hi, everybody

"Con" is A Reserverd Word in Dos as normally if u want to create A Text File in Dos we used command like Copy con <Filename.Ext" so Con is reserved word so u cant create a folder or file name with the same name.
So I think is this the only reason why u all were unable to create Folder called "Con"

Ok
Take care all of u
Bye
Dont Worry Be happy
dikudik is offline  
Old 20-06-2005, 06:33 PM   #22 (permalink)
Broken In
 
abhishekkulkarni's Avatar
 
Join Date: Aug 2004
Location: Amche Pune
Posts: 182
Default

No problem with Windows Server Edition 2003.It was able to create a folder named "con".
__________________
May the source be with you ..
abhishekkulkarni is offline  
Old 20-06-2005, 09:51 PM   #23 (permalink)
Wise Old Owl
 
Join Date: Dec 2004
Location: New Delhi/Bangalore
Posts: 1,087
Default

Quote:
Originally Posted by rajas
I was able to name a folder CLOCK$ it worked for me. the rest didnt work. Saurav watch out.

This is what Microsoft have to say Regarding File Names in Windows XP Professional
same here for me
__________________
Shwetanshu Srivastava
I can give a headache to an aspirin!
shwetanshu is offline  
Old 20-06-2005, 09:56 PM   #24 (permalink)
In The Zone
 
anomit's Avatar
 
Join Date: Mar 2005
Location: Kharagpur
Posts: 252
Default

Quote:
Originally Posted by saurav_cheeta
talk about finding na.... see what i have came up with..... try this names... they wont wokr also...

CLOCK$
AUX
COM!
COMn
LPT1
PRN
NUL
CONFIG$


why not.... as they are reserved words used for DOS Devices.....

CLOCK$ => System clock
CON => Console; combination of keyboard and screen to handle input and output
AUX or COM1 => First serial communicationport
COMn => Second, Third, ... communicationport
LPT1 or PRN => First parallel port
NUL => Dummy port, or the "null device" which we all know under Linux as /dev/null.
CONFIG$ => Unknown
Quite old trick,man. These were present in the IO.SYS file in MS-DOS and Win 98 still supports real time MS-DOS environment.

Actually, there is an old trick to BSOD windows using these path strings. Should I tell or not? Your command.
__________________
Don\'t SYN me, I'll SYN you. :p
anomit is offline  
Old 20-06-2005, 10:21 PM   #25 (permalink)
In The Zone
 
anomit's Avatar
 
Join Date: Mar 2005
Location: Kharagpur
Posts: 252
Default

Ok, to workaround make sure you dot wanna run any old DOS programs which may be using these devices.
Find the file ntio.sys and open it from DOS prompt with the command:

C:\WINDOWS\system32\EDIT ntio.sys /70

Or you can hexedit the file with HexEditor v2.3. Locate the strings COM,CON etc. and change their HEX values to null. This would be much easier.

Rename anything you find like CON,LPT,COMn etc. etc. to what you wish.

CAUTION I dont think you would be able to type anything in the DOS prompt after this. So backup this file first and then proceed. I wont be responsible for anything.
__________________
Don\'t SYN me, I'll SYN you. :p
anomit is offline  
Old 21-06-2005, 03:10 AM   #26 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2004
Posts: 34
Default

Quote:
mohit wrote:
not working on my sys also ... have u tried it in win 98 ? anybody with win98 plz check it out. and this is an interesting piece of info... this shud in the next months "take a crack - make a folder named con in xp" ....lol.


No prob wit Win98. Can create it.
I also have win98, i wasn't able to rename any folder with the given names.
How were u able to rename @dataone.
Ashish is offline  
Old 21-06-2005, 08:40 AM   #27 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default

Quote:
Originally Posted by anomit
Ok, to workaround make sure you dot wanna run any old DOS programs which may be using these devices.
Find the file ntio.sys and open it from DOS prompt with the command:

C:\WINDOWS\system32\EDIT ntio.sys /70

Or you can hexedit the file with HexEditor v2.3. Locate the strings COM,CON etc. and change their HEX values to null. This would be much easier.

Rename anything you find like CON,LPT,COMn etc. etc. to what you wish.

CAUTION I dont think you would be able to type anything in the DOS prompt after this. So backup this file first and then proceed. I wont be responsible for anything.
well yes this is a work around.... work around to creat more problem....
Choto Cheeta is offline  
Old 21-06-2005, 10:24 AM   #28 (permalink)
In The Zone
 
anomit's Avatar
 
Join Date: Mar 2005
Location: Kharagpur
Posts: 252
Default

Well man, I gave this workaround to show how can it be done and where these strings are located, not to make life easier for anyone.
__________________
Don\'t SYN me, I'll SYN you. :p
anomit is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by trublu
- by topgear

Advertisement




All times are GMT +5.5. The time now is 09:01 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2