Command: truename
TRUENAME displays the full path name of the file / path specified.
Syntax:
TRUENAME [drive][path][filename]
TRUENAME [/?]
drive The drive letter, e.g. C:
path The directory, e.g. \example\
filename The file, e.g. test.txt
Options:
/? Shows the help.
Comments:
If you have created a drive / path / file with SWSUBST,
TRUENAME shows you the complete drive / path / file.
TRUENAME is a command internal to command.com and needs no other file
in order to work.
Examples:
swsubst e: c:\FREEDOS\BIN Replaces c:\FREEDOS\BIN by e:
e: Changes to drive e:
dir Shows the files in e: which are in reality
at C:\FREEDOS\BIN
dir choice.exe Shows the file choice.exe in e:
truename e:\choice.exe Shows the real path of e:\choice.exe which is:
"c:\FREEDOS\BIN\choice.exe"
See also:
assign
command.com/freecom
join/subst/swsubst
Copyright © 2008 and 2022 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.