You need to use /enqueue before the individual commands.
Such as:
Code:
{
/enqueue RNFR %f
/enqueue RNTO /another.directoy/dir.name/%f
}
But I would recommend using the /ren command instead of RNFR/RNTO, plus this way you eliminate the need for using a command block { }
Code:
/enqueue /ren "%f" "/another.directoy/dir.name/%f"