Updating registry then running an application

For creating and running the batch commands, I’d use the method I outlined at Tip: Running Commands and Saving Output (Windows)

As for the reg file, I’d also create that on the file with a set of createfile until commands similar to the ones I used there to create the batch file; just paste in the text and after the closing marker move it to a .tvopt file.

If the file contains any ‘{’ symbols replace them with ‘{{’ to escape them, so the ActionScript doesn’t take them as a relevance substitution