Rename files recursive by wildcard / regexp

I'd make a new button. Here's mine:

XML
<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
	<label>59600</label>
	<icon1>#newcommand</icon1>
	<function type="normal">
		<instruction>// Rename FROM=*.txt TO=*.txtBAK RECURSE</instruction>
		<instruction>Rename FROM={filepath}*.txt TO=*.txtBAK RECURSE ADVANCED</instruction>
	</function>
</button>

How to use buttons and scripts from this forum