Re: Getting full path of a file?
- Posted by Mike777 Jul 03, 2008
- 731 views
Jeremy Cowgar said...
Say I do this in Euphoria:
integer fh = open("../../mydir/myfile.txt", "r")
Is there an easy way to get the real full path of that file?
Jeremy
If using Win32lib it would be:
myPath = getfullPathName ("../../mydir/myfile.txt", w32True) --myPath[1] is the path (whatever is defined by "../../mydir/") --myPath[2] is the file name ("myfile.txt")