I need to find a word (which would be %username%)
in a text file and then display the next line
(which would be the users name)
Text file ex.
N123456 44
Nameof User0
N123457 44
Nameof User1
N123458 39 <---- Find N123458 which is %Username%
Nameof User2 <---- then echo the next line full name of User
N123459 38
Nameof User3
N123450 39
Nameof User4
Search file for N123458 and then echo Nameof User2
in a text file and then display the next line
(which would be the users name)
Text file ex.
N123456 44
Nameof User0
N123457 44
Nameof User1
N123458 39 <---- Find N123458 which is %Username%
Nameof User2 <---- then echo the next line full name of User
N123459 38
Nameof User3
N123450 39
Nameof User4
Search file for N123458 and then echo Nameof User2