Login  Register

Re: difference in dir list WinXP and Linux

Posted by Gabriel Landini on Jan 20, 2006; 3:34pm
URL: http://imagej.273.s1.nabble.com/difference-in-dir-list-WinXP-and-Linux-tp3703981p3703983.html

Not sure if this will help, but it is not a good idea to use directories with
spaces. Use "_" instead.

Cheers,

G.

On Friday 20 January 2006 15:25, Tycho Scholtens wrote:

> I'm using a macro that analyzes images from 4 directories.
> It is important that the same file (when sorted by filename) is loaded from
> all 4 directories.
> When I run the macro pasted below in WinXP it gives the correct listing.
> However, when I run it in Linux (RH 9.2) it gives a different order of the
> files.
> Is this a common problem and related to it, how can I sort an array of
> strings in ImageJ (a simple sort() doesn't seem to work).
>
> Macro: