Displays the true path and/or file name for a SUBSTituted, networked (Novell Netware 3.1* and maybe more, not in OS/2 LAN Server or NT) or otherwise "faked" drive.
| Warning: | In MS-DOS 7.* with VFAT/FAT32, TRUENAME will display an "8.3" file name for the specified long file name, though this feature doesn't seem to be very reliable, to say the least. All it does is truncate the file name to 8 characters (without even removing spaces!) and the extension to 3 characters, at least on the Dutch Windows 98 system I tested it on. |
TRUENAME [drive:][\path\][filename]
TRUENAME will display "true" file names even if the files do not actually exist.
As far as I know, there is no equivalent in either OS/2 or NT,
though they both support it in their COMMAND.COM sessions.
You may want to use TrueName.cmd
(OS/2) or TrueName.bat (NT) to
get at least part of TRUENAME's functionality.
TrueName.bat not only handles
mapped network drives, but SUBSTed drives as well.
WHICH version 1.00 for DOS uses TRUENAME to display the fully qualified path of a specified program file name.
SFN (Short File Name)
uses TRUENAME to display the short file name of a specified file name.
This batch files uses the fact that after calling COMMAND /C TRUENAME
NT's $P prompt changes
from long to short directory names (until you change directory).