webCOMAND

#PATHBASE

An alias for #PATHFROM().

DEPRECATED: This statement is provided for backward compatibility with previous versions of webCOMAND.  #PATHFROM() should be used instead.

Syntax

#PATHFROM() ... #ENDPATHFROM

Return

This statement does not return a value or produce output.

Example

<a href="#OUTPUT("test.txt","Test Text")">Link</a>
#PATHBASE("/")
<a href="#OUTPUT("test.txt","Test Text")">Link</a>
#ENDPATHBASE

Result

<a href="test.txt">Link</a>
<a href="current/publish/path/test.txt">Link</a>