Current *.dyn file dir

How can i take current directory of dyn file?

Thanks