@truename bug?

May 30, 2008
212
1
#1
C:\Tools is a junction to C:\Program Files\Tools.

C:\User\temp>echo %@truename["C:\Tools"]
c:\Program Files\Tools

C:\User\temp>echo %@truename["C:\Tools\Wc.exe"]
C:\Tools\Wc.exe

Should not the second display value be "c:\Program Files\Tools\Wc.exe"?
 

rconn

Administrator
Staff member
May 14, 2008
10,493
94
#2
nikbackm wrote:

> C:\Tools is a junction to C:\Program Files\Tools.
>
> C:\User\temp>echo %@truename["C:\Tools"]
> c:\Program Files\Tools
>
> C:\User\temp>echo %@truename["C:\Tools\Wc.exe"]
> C:\Tools\Wc.exe
>
> Should not the second display value be "c:\Program Files\Tools\Wc.exe"?
It should be, but the Windows API is failing in that instance.

Rex Conn
JP Software