Asking everyone, how to use batch processing to call a random line from a text and define variables respectively?
The text content is like:
——————————
WKS001 1 abcdefg
WKS002 2 abcdefg
WKS003 3 abcdefg
WKS004 4 abcdefg
WKS005 5 abcdefg
WKS006 6 abcdefg
WKS006 6 abcdefg
...
——————————
In this way, the number of lines is not fixed, and each line has 3 segments of characters separated by spaces. It is required to randomly调入a certain line in batch processing, and then define the 3 segments of characters of that line as variables a b c
After debugging, I will recharge 10 Q coins to the author as a reward, thank you everyone
[ Last edited by adslcool on 2010-11-18 at 16:15 ]
The text content is like:
——————————
WKS001 1 abcdefg
WKS002 2 abcdefg
WKS003 3 abcdefg
WKS004 4 abcdefg
WKS005 5 abcdefg
WKS006 6 abcdefg
WKS006 6 abcdefg
...
——————————
In this way, the number of lines is not fixed, and each line has 3 segments of characters separated by spaces. It is required to randomly调入a certain line in batch processing, and then define the 3 segments of characters of that line as variables a b c
After debugging, I will recharge 10 Q coins to the author as a reward, thank you everyone
[ Last edited by adslcool on 2010-11-18 at 16:15 ]
