Re: "." and ".." returned by dir()
- Posted by don cole <doncole at pacbell.net> Sep 02, 2006
- 594 views
Pete Lomax wrote: > > On Thu, 31 Aug 2006 16:59:51 -0700, "Ricardo M. Forno" > <guest at RapidEuphoria.com> wrote: > > >I don't know for shure, but methinks that DOS returns the files and the > >directories ordered by date. > >If this is always true, it might be that you have some files dated earlier > >than the directories where they reside, so this may not be always true. > >This can happen if you create a directory and then you move some files to it. > A quick test showed that false (on win98). > Another quick test I tried kinda proved my theory: > I created a.txt > I created b.txt > I deleted a.txt > I created c.txt > dir() now lists c before b. Now wait a minuet. I thought files were arranged by the order last selected by View/Arrange Icons/(name, date etc...) for that window. If this is not true I'd like to know what is? Don Cole