Re: Getting full path of a file?

new topic     » goto parent     » topic index » view thread      » older message » newer message
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") 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu