$WBFileReport

Availability
$WBFileReport is available for use with WBSP file commands:
Delete file
Write to file

Syntax
$WBFileReport
$WBFileReport[]

Returns
Report of executed file command.

Here's an example:

<!--
[FormFields]
WB_FileName =/default.inc
WB_Section =UserData
WB_KeyName =AdminName
WB_KeyValue =John Doe
wb_command=WF
-->
<!--WB_BeginTemplate-->
<html>
<body>
$wbfilereport
</body>
</html>
 

After running this example, user variable AdminName will be set to new value John Doe, and default message will be displayed:

Key value for AdminName sucessfully changed in file /default.inc!