To All:
Application platform: Windows 9x / Windows NT's / MS-DOS 6.xx
Problem description: There are two find statements in the batch program test.bat, namely find_A and find_B. Their functions are: find_A can filter the line where find_B is located into the program test1.bat, and find_B can filter all lines except the line where find_A is located into the program test2.bat. How to write find_A and find_B?
Additional instructions: The program should be runnable on the above-mentioned three platforms. If not, it can be a second choice; the content of other statements in the program cannot be determined. It can contain any possible strings that may appear in find_A and find_B. If not, it can be a second choice; there is no additional reward for this solicitation, just to broaden everyone's programming ideas.
Application platform: Windows 9x / Windows NT's / MS-DOS 6.xx
Problem description: There are two find statements in the batch program test.bat, namely find_A and find_B. Their functions are: find_A can filter the line where find_B is located into the program test1.bat, and find_B can filter all lines except the line where find_A is located into the program test2.bat. How to write find_A and find_B?
Additional instructions: The program should be runnable on the above-mentioned three platforms. If not, it can be a second choice; the content of other statements in the program cannot be determined. It can contain any possible strings that may appear in find_A and find_B. If not, it can be a second choice; there is no additional reward for this solicitation, just to broaden everyone's programming ideas.
Recent Ratings for This Post
( 1 in total)
Click for details
| Rater | Score | Time |
|---|---|---|
| 8417a | +1 | 2010-01-07 15:43 |
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!

