--- In [EMAIL PROTECTED], sgp <[EMAIL PROTECTED]> wrote: > v.3.8.18 the following script produces different - and unexpected - output depending on whether backward > or forward slashes are used to define variable pics > > ; standard configuration used > > ; outputs JUST the filename (shouldn't it be the full path ??) > local pics="d:\\MyDocs\\My Pictures\\*.jpg\nd:/MyDocs/My Pictures/dcp*.jpg" > > ; outputs the full path BUT without drive letter (shouldn't drive be included??) > local pics="d:/MyDocs/My Pictures/*.jpg\nd:/MyDocs/My Pictures/dcp*.jpg" > > local i l > for ( i=line(pics,0); i>0; i=i-1 ) > win.debug(line(pics,i)) > l = l++file.listfiles(line(pics,i),1) > endfor > pickfile(l,"test")
What happens if you set the subfolder flag to 0? You can't parse into the subfolders if you use the wildcards in paths. I suspect this is the cause. ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
