I want to use batch processing to complete the following functions, please help
a. Find the specified string "LIZI" in the text. If found, assign the text after the space to %1, %2, %3, %4, %5, %6, %7, %8, %9... until the carriage return character is detected, and exit.
If not found, add a line in this text. The content is a string starting with "LIZI" and add the default values of %1, %2, %3, %4, %5, %6, %7, %8, %9... which is the value of the first line
For example, in AAA.TXT there is
name date1 date2 date3
lizi 001 002 003
Looking for lizi in AAA.TXT, there is %1=001, %2=002, %3=003
Looking for name4 in AAA.TXT, AAA.TXT has no change to
name date1 date2 date3
lizi 001 002 003
name4 date1 date2 date3
b. Perform mathematical operations in batch processing and assign values to variables
a. Find the specified string "LIZI" in the text. If found, assign the text after the space to %1, %2, %3, %4, %5, %6, %7, %8, %9... until the carriage return character is detected, and exit.
If not found, add a line in this text. The content is a string starting with "LIZI" and add the default values of %1, %2, %3, %4, %5, %6, %7, %8, %9... which is the value of the first line
For example, in AAA.TXT there is
name date1 date2 date3
lizi 001 002 003
Looking for lizi in AAA.TXT, there is %1=001, %2=002, %3=003
Looking for name4 in AAA.TXT, AAA.TXT has no change to
name date1 date2 date3
lizi 001 002 003
name4 date1 date2 date3
b. Perform mathematical operations in batch processing and assign values to variables


