In message <1079b050610070337w25e55dder4a3596e548327c6c@mail.gmail.com>
you wrote:
> So that works for windows, but is there a POSIX or another OS agnostic
> method for doing this?
I do not see how there can be. It is entirely up to the OS to provide
information to an application about its past history, i.e. where in
a filing system it has been fetched from. It might have been fetched
from nowhere if it is stored in ROM. To go to an extreme example, what
about devices that do not support filing systems?
--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/