In the process of data processing (C:\123\Many.TXT files), I urgently need a P processing that can achieve the following functions. Please help!
1> The third line is the same
2> The first line is greater than or equal to
3> The second line is greater than. The.txt files are moved to C:\456, as follows. B.txt should be moved.
Note: (The characters to be compared in the first, second, and third lines are all variables, and within the same line, they are separated by the TAB key)
The following are part of the contents of two.txt files.
A.txt
Date 06/29/07
Time 08:16:26
Serial # ML07300010JEB
Script file 2820.scr
Station GXHCDG02
PASSED
CAPTURED TARS DATA
LABEL VALUE
AssyNum W10130544
GDS_ErrTmp 0x00
WaterBeforeReload 0x00b5
HVDC_LO_Byte 0x0136
GDS_ErrTmp 0x00
B.txt
Date 06/30/07
Time 08:19:30
Serial # ML07300010JEB
Script file 2820.scr
Station GXHCDG02
PASSED
CAPTURED TARS DATA
LABEL VALUE
AssyNum W10130544
GDS_ErrTmp 0x00
WaterBeforeReload 0x00b5
HVDC_LO_Byte 0x0136
GDS_ErrTmp 0x00
[ Last edited by joshualaw on 2007-8-7 at 09:50 PM ]
1> The third line is the same
2> The first line is greater than or equal to
3> The second line is greater than. The.txt files are moved to C:\456, as follows. B.txt should be moved.
Note: (The characters to be compared in the first, second, and third lines are all variables, and within the same line, they are separated by the TAB key)
The following are part of the contents of two.txt files.
A.txt
Date 06/29/07
Time 08:16:26
Serial # ML07300010JEB
Script file 2820.scr
Station GXHCDG02
PASSED
CAPTURED TARS DATA
LABEL VALUE
AssyNum W10130544
GDS_ErrTmp 0x00
WaterBeforeReload 0x00b5
HVDC_LO_Byte 0x0136
GDS_ErrTmp 0x00
B.txt
Date 06/30/07
Time 08:19:30
Serial # ML07300010JEB
Script file 2820.scr
Station GXHCDG02
PASSED
CAPTURED TARS DATA
LABEL VALUE
AssyNum W10130544
GDS_ErrTmp 0x00
WaterBeforeReload 0x00b5
HVDC_LO_Byte 0x0136
GDS_ErrTmp 0x00
[ Last edited by joshualaw on 2007-8-7 at 09:50 PM ]
