www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/27/11:24:47

Date: Fri, 27 May 94 10:27:13 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Library problems
Reply-To: babcock AT cfa DOT harvard DOT edu

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019