Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe14.iad.POSTED!7564ea0f!not-for-mail
From: Walter Roberson <roberson@hushmail.com>
User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab 2010a dir cmd
References: <hsf7bc$f7m$1@fred.mathworks.com> <hsfab3$rfk$1@fred.mathworks.com> <RnGGn.6843$wV2.3222@newsfe23.iad> <hsfc8r$1lb$1@fred.mathworks.com> <hsfcqc$688$1@fred.mathworks.com> <hsfgne$bur$1@fred.mathworks.com> <hsfljg$nuo$1@fred.mathworks.com>
In-Reply-To: <hsfljg$nuo$1@fred.mathworks.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 22
Message-ID: <_9JGn.1419$%u7.413@newsfe14.iad>
NNTP-Posting-Host: 24.79.143.47
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe14.iad 1273716474 24.79.143.47 (Thu, 13 May 2010 02:07:54 UTC)
NNTP-Posting-Date: Thu, 13 May 2010 02:07:54 UTC
Date: Wed, 12 May 2010 21:07:53 -0500
Xref: news.mathworks.com comp.soft-sys.matlab:635308

James wrote:
> Perhaps I have just been lucky as I have never named a folder "foo.goo"

http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx

"Note that a directory is simply a file with a special attribute 
designating it as a directory, but otherwise must follow all the same 
naming rules as a regular file."

And thus as far as Microsoft is concerned, there is no reason why a 
directory could not be named "foo.goo", and that has been true for some 
time.

You spoke of "legacy scripts" breaking: were those scripts able to 
handle generalized long directory names, which might have multiple 
periods in them? Such as This.is.a.valid.directory.name ? If those 
scripts broke with such names, then for the sake of legacy support, 
under the reasoning of your previous "don't know what they are talking 
about" posting, would it not be important for Matlab to continue to have 
broken behaviour? I am unclear as to what your preference is here, 
whether you are looking for _correct_ behaviour from Matlab, or if you 
are looking for "Bug For Bug Compatability" ??