How to use batch processing to obtain the content at a specified position in a specified line of a file and write it to another file.
For example, the 12th character from the end in the 5th line of a file, and the 1st to 3rd characters from the end in the 6th line (there may be 1-3 characters after an = symbol in this line content).
After getting these two values, write them to the specified lines of another file. (It's okay to simply output to a file for simplicity, with not many lines.)
I really don't know any programming, and I think batch processing should be the simplest. However, after reading many tutorials, I didn't find the implementation method for getting the specified content in a file. Please help me, thank you!
For example, the 12th character from the end in the 5th line of a file, and the 1st to 3rd characters from the end in the 6th line (there may be 1-3 characters after an = symbol in this line content).
After getting these two values, write them to the specified lines of another file. (It's okay to simply output to a file for simplicity, with not many lines.)
I really don't know any programming, and I think batch processing should be the simplest. However, after reading many tutorials, I didn't find the implementation method for getting the specified content in a file. Please help me, thank you!

