Check the AutoIt help file for reading and writing to an ini file. This is much easier than creating a text file and trying to get the part of the line you want from it.
$MyCommand = IniRead("myfile.ini", "section2", "key", "NotFound")
MsgBox(4096, "Result", $MyCommand )
Use the two lines to set up the ini and test to see if the msg box displays what you want.
Then, for the easiest way to send a single command to RR you can use something like and replace the MsgBox line:
For the above code to work, you MUST have the exec.exe (in the rr root folder, can copy it anywhere as it is really tiny) and the myfile.ini is the same folder.