From: Walter Roberson <>
User-Agent: Thunderbird (Macintosh/20100228)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab 2010a dir cmd
References: <hsf7bc$f7m$> <hsfab3$rfk$> <RnGGn.6843$wV2.3222@newsfe23.iad> <hsfc8r$1lb$> <hsfcqc$688$> <hsfgne$bur$> <hsfljg$nuo$>
In-Reply-To: <hsfljg$nuo$>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 22
Message-ID: <_9JGn.1419$%u7.413@newsfe14.iad>
X-Trace: newsfe14.iad 1273716474 (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: comp.soft-sys.matlab:635308

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

"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 "", and that has been true for some 

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 ? 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" ??