PC Review


Reply
Thread Tools Rate Thread

Cannot create any file with any extension anywhere with the name "con"

 
 
ju.c
Guest
Posts: n/a
 
      24th May 2009
I'm serious! I was tweaking config.sys files and wanted to keep them
sorted together, so I renamed some to conf.sys, config2.sys, etc.

But when I renamed one to "con.sys" I got this error:

"Error Renaming File or Folder
Cannot rename ... document: a file with the name you specified already
exists. Specify a different file name."

I thought there was a corrupt file in the folder so, after I could find
no problem files I ran chkdsk. When I tried to name the file now, I
got the error message again. Then I tried creating one everywhere,
and the extension didn't matter. Any file with any extension in any
folder named "con" fails with the error! Would someone try it and
let me know if it's my computer or a Windows bug. Thanks.


ju.c

 
Reply With Quote
 
 
 
 
Jose
Guest
Posts: n/a
 
      24th May 2009
On May 24, 11:33*am, "ju.c" <bibidybubidyb...@mailinator.com> wrote:
> I'm serious! I was tweaking config.sys files and wanted to keep them
> sorted together, so I renamed some to conf.sys, config2.sys, etc.
>
> But when I renamed one to "con.sys" I got this error:
>
> "Error Renaming File or Folder
> Cannot rename ... document: a file with the name you specified already
> exists. Specify a different file name."
>
> I thought there was a corrupt file in the folder so, after I could find
> no problem files I ran chkdsk. When I tried to name the file now, I
> got the error message again. Then I tried creating one everywhere,
> and the extension didn't matter. Any file with any extension in any
> folder named "con" fails with the error! Would someone try it and
> let me know if it's my computer or a Windows bug. Thanks.
>
> ju.c


CON = console.

You can't name a folder LPT1, or COM1 either - and other things.

It's not a bug, it's a feature. http://msdn.microsoft.com/en-us/library/aa365247.aspx

Jose
 
Reply With Quote
 
Twayne
Guest
Posts: n/a
 
      24th May 2009
ju.c wrote:
> I'm serious! I was tweaking config.sys files and wanted to keep them
> sorted together, so I renamed some to conf.sys, config2.sys, etc.
>
> But when I renamed one to "con.sys" I got this error:
>
> "Error Renaming File or Folder
> Cannot rename ... document: a file with the name you specified already
> exists. Specify a different file name."
>
> I thought there was a corrupt file in the folder so, after I could
> find no problem files I ran chkdsk. When I tried to name the file
> now, I got the error message again. Then I tried creating one
> everywhere, and the extension didn't matter. Any file with any
> extension in any
> folder named "con" fails with the error! Would someone try it and
> let me know if it's my computer or a Windows bug. Thanks.
>
>
> ju.c


"con" is a reserved word and thus cannot be used in the way you're
trying to use it. It stands for "console" and is one of the internals
that control where output goes. There are others, too, if you wish to
peruse the MS Site and search for "reserved names" I think it is.

HTH,

Twayne`



 
Reply With Quote
 
ju.c
Guest
Posts: n/a
 
      25th May 2009
Oh, thanks.


"Twayne" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> ju.c wrote:
>> I'm serious! I was tweaking config.sys files and wanted to keep them
>> sorted together, so I renamed some to conf.sys, config2.sys, etc.
>>
>> But when I renamed one to "con.sys" I got this error:
>>
>> "Error Renaming File or Folder
>> Cannot rename ... document: a file with the name you specified already
>> exists. Specify a different file name."
>>
>> I thought there was a corrupt file in the folder so, after I could
>> find no problem files I ran chkdsk. When I tried to name the file
>> now, I got the error message again. Then I tried creating one
>> everywhere, and the extension didn't matter. Any file with any
>> extension in any
>> folder named "con" fails with the error! Would someone try it and
>> let me know if it's my computer or a Windows bug. Thanks.
>>
>>
>> ju.c

>
> "con" is a reserved word and thus cannot be used in the way you're
> trying to use it. It stands for "console" and is one of the internals
> that control where output goes. There are others, too, if you wish to
> peruse the MS Site and search for "reserved names" I think it is.
>
> HTH,
>
> Twayne`
>
>
>

 
Reply With Quote
 
ju.c
Guest
Posts: n/a
 
      25th May 2009
Oh, thanks.


"Jose" <(E-Mail Removed)> wrote in message news:3e41ae78-5ec4-416b-8065-(E-Mail Removed)...
> On May 24, 11:33 am, "ju.c" <bibidybubidyb...@mailinator.com> wrote:
>> I'm serious! I was tweaking config.sys files and wanted to keep them
>> sorted together, so I renamed some to conf.sys, config2.sys, etc.
>>
>> But when I renamed one to "con.sys" I got this error:
>>
>> "Error Renaming File or Folder
>> Cannot rename ... document: a file with the name you specified already
>> exists. Specify a different file name."
>>
>> I thought there was a corrupt file in the folder so, after I could find
>> no problem files I ran chkdsk. When I tried to name the file now, I
>> got the error message again. Then I tried creating one everywhere,
>> and the extension didn't matter. Any file with any extension in any
>> folder named "con" fails with the error! Would someone try it and
>> let me know if it's my computer or a Windows bug. Thanks.
>>
>> ju.c

>
> CON = console.
>
> You can't name a folder LPT1, or COM1 either - and other things.
>
> It's not a bug, it's a feature. http://msdn.microsoft.com/en-us/library/aa365247.aspx
>
> Jose

 
Reply With Quote
 
Twayne
Guest
Posts: n/a
 
      25th May 2009
ju.c wrote:
> Oh, thanks.
>
>
> "Jose" <(E-Mail Removed)> wrote in message
> news:3e41ae78-5ec4-416b-8065-(E-Mail Removed)...
>> On May 24, 11:33 am, "ju.c" <bibidybubidyb...@mailinator.com> wrote:
>>> I'm serious! I was tweaking config.sys files and wanted to keep them
>>> sorted together, so I renamed some to conf.sys, config2.sys, etc.
>>>
>>> But when I renamed one to "con.sys" I got this error:
>>>
>>> "Error Renaming File or Folder
>>> Cannot rename ... document: a file with the name you specified
>>> already exists. Specify a different file name."

....
>>
>> CON = console.
>>
>> You can't name a folder LPT1, or COM1 either - and other things.
>>
>> It's not a bug, it's a feature.
>> http://msdn.microsoft.com/en-us/library/aa365247.aspx Jose


Good addition. I got CONned by that too, way back in W3.1 I think it
was<g>.

Twayne`





 
Reply With Quote
 
Jose
Guest
Posts: n/a
 
      25th May 2009
On May 25, 12:45*pm, "Twayne" <nob...@devnull.spamcop.net> wrote:
> ju.c wrote:
> > Oh, thanks.

>
> > "Jose" <jose_e...@yahoo.com> wrote in message
> >news:3e41ae78-5ec4-416b-8065-(E-Mail Removed)...
> >> On May 24, 11:33 am, "ju.c" <bibidybubidyb...@mailinator.com> wrote:
> >>> I'm serious! I was tweaking config.sys files and wanted to keep them
> >>> sorted together, so I renamed some to conf.sys, config2.sys, etc.

>
> >>> But when I renamed one to "con.sys" I got this error:

>
> >>> "Error Renaming File or Folder
> >>> Cannot rename ... document: a file with the name you specified
> >>> already exists. Specify a different file name."

> ...
>
> >> CON = console.

>
> >> You can't name a folder LPT1, or COM1 either - and other things.

>
> >> It's not a bug, it's a feature.
> >>http://msdn.microsoft.com/en-us/libr...65247.aspxJose

>
> Good addition. *I got CONned by that too, way back in W3.1 I think it
> was<g>.
>
> Twayne`


I may go back a little further.

Windows??!?

Jose
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File open dialogue "file is in a different format than specified bythe file extension" How get rid of msg? Chet Microsoft Excel Misc 0 6th Jul 2010 10:19 PM
Strip file extension from fiel name with multiple periods."file.9.69.txt" Fan924 Microsoft Excel Programming 2 20th Jan 2010 02:06 AM
How do I convert an Outlook Express "eml" extension file to "jpeg. =?Utf-8?B?U3Rhbg==?= Microsoft Outlook Discussion 1 3rd Feb 2005 04:43 PM
xls file extension to wks "Works" extension RussM Microsoft Excel Misc 1 11th Jul 2004 02:49 AM
"Create Zipped Folder" option missing from "new" when left clicking on a file. Derek Windows XP General 2 20th Apr 2004 07:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:06 AM.