Le 12/09/96 ˆ 18:34 , Matthias Schabel nous disait: > Does anyone know how the Finder orders selected files; for example, imagine > I have a bunch of files with names > ... > and drag-n-drop them onto a perl script. When I do this, I find that the > filenames are sorted before being processed by the script; is it the perl > interpreter doing this or does the Finder sort the list first? In either Hi, The Finder does the sorting first. If you select a buch of files on the Desktop then do Command-C ('copy') and then Paste the Clipboard's content in a text file you will see the sort order the Finder uses (This trick is limited to 255 chars though...). If I am not mistaken, this sort order also depends on the setting of your 'Text' Control Panel (as far as diacritic chars are concerned). MacPerl pass the dropped filenames to @ARGV in the same order. Correct me, anyone, if I'm wrong... Bye, Stef. ___S__t__e__p__h__a__n__e______J__o__s__e___ jose.stephane@uqam.ca http://www.er.uqam.ca/nobel/m206474/