Re: Include File Relative Paths
- Posted by don cole <doncole at pacbell.net> Mar 07, 2007
- 536 views
c.k.lester wrote: > > c.k.lester wrote: > > don cole wrote: > > > global function wCheckFile(sequence file_path) > > ... > > > end function > > > wCheckFile(current_dir()&"\\txt\\afile.txt")--I notice you didn't have 2 > > > back > > slashes here.</font></i> > > I'll try your current_dir() solution tomorrow and see if that works. > > Okay, I just tried it. Didn't work. The current_dir() is still the base > directory and doesn't pick up the fact that the calling file is in a > subdirectory... :/ Okay why can't you just drag and drop afile.txt to your base directory? Or locate with walk_dir()? I'm not sure what you're trying to do here but it seems to me you're trying to make something simple difficult. Don Cole