Cannot create a folder with name as "con"

A

Aditya Sinha

Hello All,

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.

Aditya Sinha
 
D

Dave Patrick

multi-posted

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

| Hello All,
|
| 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.
|
| Aditya Sinha
|
|
 
S

Shenan Stanley

Aditya said:
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.

Steve said:
You should have gone to the BLOG and read the answer which is
completely WRONG before recommending it.

You didn't read far enough then.. eh?
I was pointing to the page - entire page - the comments included.

It was the exact question/thoughts the OP probably had - thus the best way
to have the OP answer their own question was to read it like their thought
process had likely been working anyway.

Like this one:
"As Yehia said, these word are reserved in Windows and hence cannot be used.
THIS IS NOT A BUG."

and this one:
(In particular this one - as it is from Windows itself)
"File Names in Windows XP Professional

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 "

I'm sorry you did not bother to read further.
I am sure the OP did - as they were interested in the topic - since they
asked about it.
 
W

Wesley Vogel

Same answer as in microsoft.public.windowsxp.security_admin and however many
other places you might have posted this!!!!!!!!!!!

What is the accepted way to share a message across multiple newsgroups?
http://smjg.port5.com/faqs/usenet/xpost.html

CON is short for CONsole and consists of the keyboard (input) and the
display (output).

Reserved Names (reserved device names)

[[Do not use the following reserved device names for the name of a file:
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9,
LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these
names followed by an extension, for example, NUL.tx7.

Windows NT: CLOCK$ is also a reserved device name. ]]
from...
Naming a File
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/naming_a_file.asp


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Aditya Sinha said:
Hello All,

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.

Aditya Sinha

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top