[Tuglist] File name and path in footer

H.S.Rai tuglist@tug.org.in
Mon, 23 Sep 2002 19:37:47 +0530 (IST)


Today at 5:06pm +0530 Radhakrishnan CV wrote:

>    Exploiting the shell-escape,
>
>    \immediate\write18{echo "\string\gdef\string\pwd{$PWD}" > pwd.tex}
>
>    \IfFileExists{pwd.tex}{\input pwd}{\gdef\pwd{.}}

Thank you perfect solution.

-- 
H.S.Rai