Hi all,

I'd like to know if there is a way of obtaining the location of a do-file from within that do-file. The use case I'm thinking of is writing a do-file that imports some data located in a constant relative path to the location of that do-file. I'd like to be able to import those data regardless of where the absolute location of the do-file is, as long as the relative location remains the same.

Thanks,

Miguel