I thought it will be nice if here will be provided the option to rename the file but to changing only the part of it's name. For example the file's extension.
What the point to change the file name if you only able to add something to it's name?
find . -name "*.txt" -exec sh -c 'x={}; mv "$x" $(echo $x | sed 's/\.txt/\.bat/g')' \;