Purpose:Find the full, true path and file name for a file


Format:TRUENAME file


See also:  The @TRUENAME variable function.




Network reassignments, junctions, symbolic links, and the SUBST command can obscure the true name of a file. TRUENAME "sees through" these obstacles and reports the fully qualified name of a file.


A leading ~\ or ~/ will be interpreted as the current user's home directory.


The following example uses TRUENAME to get the true pathname for a file:


[c:\] subst d: c:\util\test

[c:\] truename d:\test.exe