Mail Archives: djgpp/1994/05/27/11:24:47
> Hmm... I just tried it out. Unfortunately the function (and the
> COMMAND.COM/4DOS commandline version) seems to only return the full path to
> the current directory and drive regardless of whether the file exists or
> not. For example, the command line version yields the following results:
>
> C:\TMP> truename config.sys
> C:\TMP\CONFIG.SYS
Truename seems to return the current directory rather than an error message
if you give it the name of a non-existent file. Try
C:\TMP> truename \config.sys
and you should get
C:\CONFIG.SYS
as a reply. Perhaps this is why they haven't documented it.
- Raw text -