Look into module Cwd.
the lowliest monk
In reply to Re^2: How to find path for current module? by tlm in thread How to find path for current module? by ganeshk