thisfile

[thisfile] will display the file name plus the path to the file relative to the root of the webserver.

Example WebDNA code:
[thisfile]
Results: /var/www/html/webdna_root/commands-contexts/files-folders/filename.dna