DIFFER questions....

Jul 6, 2008
This thread is getting a little to long and covers more than a few questions and answers.
I think much of what the referenced suggestion for a @REALPATH[] function can be accomplished by:
echo "%@rtrim[\,%@path[%@search[tcmd.exe]]]"
"D:\tcmd v22"
This should yield a path to an existing file, in the path, without the trailing back slash.
If this isn't what was being described then hopefully Rex will have a better understanding.

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
I don't understand what "the intended purpose of the suggested function" is; another implementation of @TRUENAME? But the help text seems to imply that @PATH has something to do with the filesystem. I'm pretty sure that it doesn't. @PATH is just a string-parsing function: strip out any quotes, then delete anything after the last (back)slash. You could use it e.g. to pull a key name out of a fully-qualified registry value name.