Re: how find if/where a file is

new topic     » goto parent     » topic index » view thread      » older message » newer message

Dan,

The function you are looking for is "walk_dir()"

-- Mike Nelson


----- Original Message -----
From: "Dan B Moyer" <DANMOYER at PRODIGY.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Thursday, September 07, 2000 5:46 AM
Subject: how find if/where a file is


> Can anyone suggest how I might go about programmatically finding if a file
> is present and if so where it is?  It should (almost certainly) be under
> Euphoria, and I have an example which showed me:
>
> -- FIND WHERE EUPHORIA STUFF IS ON DRIVE:
> object EuDir    -- EUDIR environment variable
> EuDir = getenv("EUDIR")
>
> but I don't know how to then search for all the subdirectories for the
file;
> I thought I had seen something that might relate, more than one reference
to
> a "dirwalk" here, but I searched the archives and manuals & couldn't find
> it.
>
> Dan Moyer

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu