Re: dirs with trailing . (period)
- From: "Bernard Cheah [MVP]" <qbernard@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 22 Oct 2007 16:42:19 +0800
vista? I double so. I can't create any folder with period and the end.
I had try xp, w2k3, vista, w2k8. when you create either via explorer or
command prompt.
say mkdir aa.
aa is created. then if you cd to the folder say 'cd aa.' or 'cd aa'
it still goes into the folder.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/
"A. Vreugdenhil" <AVreugdenhil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B45EFCD0-8035-4F4F-912C-B380683A417D@xxxxxxxxxxxxxxxx
Windows explorer worked... on Vista now that I think of it.
I wonder what would happen if you copy something containing that period
from
a normal network share?
"Bernard Cheah [MVP]" wrote:
Don't think you have much control about this.
Have you figure out how it was created? I can't create it via command
prompt/windows explorer/ftp.exe
--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/
"A. Vreugdenhil" <AVreugdenhil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:3B75F635-22E1-43F1-9B4B-92A494453CF4@xxxxxxxxxxxxxxxx
Thanks for the info. This helped me understand the problem.
But now for the next problem: How do I stop people from creating
dirnames
with trailing periods if windows itself fakes allowing it?
I guess I'll have to make use of that crude workaround myself too.
Any idea how it works or where I can find that info?
".._.." wrote:
The allowed characters in folder names and file names are different
from
Unix to Windows.
To make interoperablity, you need to follow BOTH of the standards with
all
files and folders.
"." is an illegal character for the end of a folder name in the
underlying
file system for Windows. The GUI will let you do it, but it's using a
crude
work around to display the "."
For best results, use numbers, letters, underscores, and dashes for
folder
names. NO SPACES. Use ALL lower case letters (Unix is case
sensitive,
Windows is not.) Use three or four letter file extensions, or no file
extension. Use a single dot to differentiate the file extension from
the
file name. Do not use more than one dot, do not use punctuation, etc.
"A. Vreugdenhil" <AVreugdenhil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:4AF22B61-2A87-4765-A3CB-ABFC97D3ABE0@xxxxxxxxxxxxxxxx
Yes, I noticed all that too.
Isn't it strange?
I'm writing a script that copies stuff to another server, but now it
seems
I
can never upload perfectly valid dirs if their names end with a
period
:(
At least two clients just create the given dir, but when you start
uploading
the contents the dirs has not been created but an entirely different
dir
has.
Is this a bug or what???
"Bernard Cheah [MVP]" wrote:
I tested with w2k3, it won't allows me to create 'test.' directoy
but
'test,' is acceptable.
if windows detects that a period is and the end, it truncate it
making
it
'test' only for the folder name.
.
- References:
- Re: dirs with trailing . (period)
- From: Bernard Cheah [MVP]
- Re: dirs with trailing . (period)
- From: A. Vreugdenhil
- Re: dirs with trailing . (period)
- From: .._..
- Re: dirs with trailing . (period)
- From: Bernard Cheah [MVP]
- Re: dirs with trailing . (period)
- From: A. Vreugdenhil
- Re: dirs with trailing . (period)
- Prev by Date: Re: dirs with trailing . (period)
- Next by Date: Re: Passive Mode issue
- Previous by thread: Re: dirs with trailing . (period)
- Index(es):
Relevant Pages
|
|