D
domw001
I have a text file(line.txt)as follows:
1. line1
2. LINE 2
3. line 03
4. line 004
5. line 55555
I need to enter a line number, parse the text file to find the line
number and put the value in a %variable%
Example
1.using set /p command, enter a line number e.g. 2
2.parse line.txt to find line 2
3.put the value "LINE 2" into %line_val%
Can anyone help.
D.
1. line1
2. LINE 2
3. line 03
4. line 004
5. line 55555
I need to enter a line number, parse the text file to find the line
number and put the value in a %variable%
Example
1.using set /p command, enter a line number e.g. 2
2.parse line.txt to find line 2
3.put the value "LINE 2" into %line_val%
Can anyone help.
D.