Re: walk_dir() and full path
- Posted by "Greg Haberek" <ghaberek at gmail.com> Sep 18, 2006
- 477 views
> Is there a way to retrieve the full path for a file name supplied by > walk_dir()? Your function provides 2 parameters: 'path' and 'entry'. 'path' is the current path, 'entry' is a dir entry (ths I'm sure you already know, just establishing the facts). Take the D_NAME part of entry and append it to path, you should have the full path.
function your_func( sequence path, sequence entry ) sequence full_path full_path = path &'\\' & entry[D_NAME] return 0 -- keep going end function
~Greg