Re: Cant create a folder called as con



In news:698DA326-C3A0-4823-A18B-0DA6C9D9E216@xxxxxxxxxxxxx,
ckwong19802003@xxxxxxxxx <ckwong19802003@xxxxxxxxx> had this to say:

My reply is at the bottom of your sent message:

> there are still some sort of company which make their file server to
> have the folder named as con, btw if you just put the command copy
> con,how it work I have try it out but it wont work and only work with
> the valid command prompt
>
>> <ckwong19802003@xxxxxxxxx> wrote in message
>> news:35C85FF2-305A-4AD2-AC79-AC93A5B00168@xxxxxxxxxxxxxxxx
>>> There was a problem when creating a folder called as con cos of the
>>> naming convention that have been used in the dos,But it doesnt mean
>>> that we cant create the con folder.
>>> We can create by type mkdir \\.\c:\con
>>> Normal deletion of the folder wont and we have to use other way
>>> around to delete rmdir \\.\c:\con
>>> --
>>> Wong Chon Kit
>>> Microsoft Certified System Engineer
>>> Technical System Specialist
>>
>>
>> And why would you like to do that actually? It was more popular in
>> DOS times, agreed. But is still a valid concern. Open your command
>> prompt and type copy con, for example.
>>
>> These names are reserved for a purpose and one should not use any
>> "workaround".
>>
>> --
>> Arek Iskra
>> MVP for Windows Server - Software Distribution

You can't name them all sorts of things actually. Like PRN, LPT1, LPT2,
etc... They're reserved. You CAN name it _CON if you'd like however but has
already been suggested - trying to get this to work (if ever successful) is
likely a very bad idea...

Hmm...

NUL, COM1 to COM9, LPT1 to LPT9, AUX, CLOCK$, and likely a few more that I
don't know about. None of those can be used.

--
Galen - MS MVP - Windows (Shell/User & IE)
http://dts-l.org/

"A man should keep his little brain attic stocked with all the
furniture that he is likely to use, and the rest he can put away in the
lumber-room of his library where he can get it if he wants it."

Sherlock Holmes


.



Relevant Pages

  • Re: Cannot create folder named "con"
    ... Aditya Sinha hunted and pecked: ... Can anyone please help me in creating a folder named "con" on my system. ... Upon naming the new folder as "con" it just reverts back to new folder. ...
    (microsoft.public.windowsxp.basics)
  • Re: Cannot create a folder with name as "con"
    ... [[Do not use the following reserved device names for the name of a file: ... Aditya Sinha hunted and pecked: ... Can anyone please help me in creating a folder named "con" on my system. ...
    (microsoft.public.windowsxp.general)
  • Re: Townes on Dime.
    ... On Dec 28, 10:20 pm, the long con ... I'm sort of ashamed to admit. ... his transformation from beautiful vibrant 20-30 year old to broken ...
    (rec.music.gdead)
  • Re: Identity defacing. Another problem with blogoverse discussion.
    ... > The net is sort of like a con. ... and people who have been online for decades are on Usenet. ... but I think that's mostly because blogs are a relatively recent ...
    (rec.arts.sf.fandom)
  • Re: deleting reserved file names: con
    ... Mark L. Ferguson ... but apparently in this case my FOLDER con is not the same as ... >>> Make sure you specify the correct path and file name. ...
    (microsoft.public.windowsxp.help_and_support)