QueryTrueName()

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
QueryTrueName() apparently truncates its argument at the first semicolon, decapitating include lists. This behavior also seems to affect the TRUENAME command and @TRUENAME function, and probably lots of other stuff too. WAD?
 

rconn

Administrator
Staff member
May 14, 2008
12,556
167
> QueryTrueName() apparently truncates its argument at the first
> semicolon, decapitating include lists. This behavior also seems to
> affect the TRUENAME command and @TRUENAME function, and
> probably lots of other stuff too. WAD?

WAD. See the help for TRUENAME -- it says "for a file", with no mention of
supporting multiple files or include lists (which would be meaningless
anyway).
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
WAD. See the help for TRUENAME -- it says "for a file", with no mention of supporting multiple files or include lists (which would be meaningless anyway).

Okay. (But be advised that it does it in the pathname part too. No, I don't put semicolons in directory names myself -- but I've seen users do weirder things.)