Joshua Niehus Wrote: > Hello, > > I am running a script that creates a file which lists all the folders in a > directory: > > foreach (string name; dirEntries("/Users/josh/", SpanMode.shallow)) { > append("/Users/dirList.txt", name ~ "\n"); > } > > But it seems to stop appending after 255 lines (this particular folder has > 350 folders in all).
What if foreach(i;0..512) { append("/Users/dirList.txt", text("line ",i,'\n')); }