@truename bug?

May 30, 2008
238
2
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
12,556
167
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
 

Similar threads