I have a question about something which has me stumped. (Sorry for the long post, questions are at the end.)
When I open a folder in list form, select a bunch of files (more than the 5 indicated below), then drag them onto the droplet listed at the end of this post, everything works as expected EXCEPT if one of the selected items is another open folder. That is, the blue arrow is pointing down and more files are listed. The listing stops when it hits that directory, as shown below: Argc: 5 MacHD:.S390:CGT2E.SRC MacHD:.S390:CGT2E.SRC orig MacHD:.S390:ConvStck.asm MacHD:.S390:mainframe.txt MacHD:.S390:OldStuff <- this is the open directory When the 2nd directory is not open (blue arrow points to the right), and it is part of the selection list, everything continues as follows: Argc: 8 MacHD:.S390:OldStuff:APPENDGE.SRC MacHD:.S390:OldStuff:ASMGTRC.SRC MacHD:.S390:OldStuff:ASMJCL.SRC MacHD:.S390:OldStuff:B <- this is the closed directory MacHD:.S390:OldStuff:BDIO.SRC MacHD:.S390:OldStuff:BDT1.SRC MacHD:.S390:OldStuff:BLT3.SRC MacHD:.S390:OldStuff:BLT4.SRC And further, if I select a range of files that start in the 2nd level and continues down, but back into the 1st level, everything prints fine but the files in the 1st level are printed ahead of those at the 2nd level. As illustrated by this: Argc: 7 MacHD:.S390:Original-CGT2E.SRC MacHD:.S390:PDSFIND.rexx MacHD:.S390:PDSFIND2.rexx MacHD:.S390:psprint.c MacHD:.S390:OldStuff:ZPARSE.SRC (these three files) MacHD:.S390:OldStuff:ZPAT.SRC (are actually selected) MacHD:.S390:OldStuff:ZWHIP.SRC (ahead of the top 4) (Not important, I can deal with it this way.) Here is the extremely simple script: #!perl $argc=@ARGV; print "Argc: $argc\n"; for ($argi=0; $argi < $argc; $argi++) { $var= @ARGV[$argi]; print "$var\n"; } Is this working as designed? My goal is to grab every file contained in the complete outer folder, including those listed in the open sub-folders, and list them ALL with stat. Thanks! Bill