From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab 2010a dir cmd
Date: Wed, 12 May 2010 23:34:51 -0500
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <hsfvks$jjm$>
References: <hsf7bc$f7m$> <hsfab3$rfk$> <RnGGn.6843$wV2.3222@newsfe23.iad> <hsfc8r$1lb$> <z4IGn.7292$h57.4763@newsfe22.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 13 May 2010 04:36:45 +0000 (UTC)
Injection-Info:; posting-host="xBunitDW57w1miUPCdv5rg";
	logging-data="20086"; mail-complaints-to="";	posting-account="U2FsdGVkX18zHLSItJ0HOnZy0ar397I5"
User-Agent: Thunderbird (Windows/20100228)
In-Reply-To: <HIDDEN>
Cancel-Lock: sha1:9dyfLRTon/a+SduhZQVmdThTWyk=
Xref: comp.soft-sys.matlab:635343

Walter Roberson wrote:
> Derik wrote:
>>  From what I understand doing a dir *. should return everything that 
>> has no extension (the reason why I'm getting the folders)
> The problem with that is that at the DOS level, directories *do* have an 
> extension: it is .DIR . If my memory on the matter has not given out on 
> me, support for *. as denoting directories was a programmed convention, 
> rather than it being that case that the extension wasn't there. ...

I'm sure that isn't so w/ current versions and don't think that was ever 
so in MS-DOS (and I don't believe it was in DR-DOS or other work-alikes, 
either).  There was an attribute from the git-go for directory I think.

I don't recall there ever being a proscription against the missing or 
empty file extension, either, at least from DOS 2.x and later.  As you 
note, prior to that is long enough my recollection is blurry at best.

There _was_ a convention of users not giving directories extensions, but 
that was at the user level and to best of my recollection wasn't ever 
anything more than that at the actual OS-level.

Afaic(an)r(emember) the /A:D switch existed on DIR as the way to 
differentiate/segregate in return info from the earliest versions.

CP/M was somewhat different but I forget the specifics...