I don't know anything about this as I haven't had a look into it myself, yet, but I'd guess, if RunBatchScript can be called from inside an object script at all, it would likely treat the commands in the ini as if they were written down in the script, i.e. in the same context etc. So you would just use the variable name of a variable inside the script without any script IDs or anything prefixed. Besides, you likely can't set the variables of every instance of a script existing in the game at the same time anyways, so I doubt the script's ID (EditorID/FormID) will have any use as it's like a Base Object, probably exists multiple times in the game world. But maybe even if it is called from inside an object script it will still treat the commands as actual console commands, so no context from inside the script or anything. Then this will not work.
But I think someone else will come around who knows more about this, as I am just guessing here.