[comp.text.tex] Can one obtain directoryname in TeX?

squash@math.ufl.edu (Jonathan King) (01/31/91)

In TeX running under Unix, if I TeX file 

	/home/thesis/part1.tex

then TeX will the token \jobname the value "part1".
  Is there a way to obtain the preceding link in the path,
	"thesis/part1"
or else the entire file pathname?

Jonathan     squash@math.ufl.edu