Kai

> files: read %/c/   foreach file files[    if
> find/any file "p*.htm"
> = [     read= file ... 
> **Access Error: Cannot open= /C/p3.htm.32105.#01 

I'm assuming you *do* have a file called  /C/p3.htm.32105.#01 
If not, something strange has happened with the read.

If you do, then the find *will* match.

Try this: (assuming you are looking for p???...???.htm)


files: read %/c/
foreach file files [
    if all [not dir? file                     ;; eliminate folders
            %.htm = suffix? lowercase file    ;; only .htm at the end
            #"p" = first file ][              ;; beginning with p or P
                print file
           ]
     ]

suffix? is a mezzanine in reach versions of View.
If the version  you are using doesn't have, check the
source ov View1.3 for the code.

Sunanda
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to