- ⌂ Publishing
- Directives
#ABSPATHS
DEPRECATED: This statement is provided for backward compatibility with previous versions of webCOMAND. #PATHTYPE('Absolute') ... #ENDPATHTYPE should be used instead.
Causes #LINK() and #OUTPUT() to produce fully qualified URLs instead of relative paths. The URL specified in the Publication determines the base of the fully qualified URL.
Syntax
#ABSPATHS ... #ENDABSPATHS
Return
This statement does not produce output.
Example
<a href="#OUTPUT("test.txt","Test Text")">Link</a>
#ABSPATHS
<a href="#OUTPUT("test.txt","Test Text")">Link</a>
#ENDABSPATHS
Result
<a href="test.txt">Link</a>
<a href="http://www.domain.com/directory/test.txt">Link</a>