A
Alex Horan
Hello,
I have searched for this on line but have not had any luck.
I have a specific issue that I am trying to find a solution to. I
currently use the FINDSTR command to bring back some information from a
file. However I am getting too much information and would like to then
extract a string from within the output returned.
The output returned is shown:
FINDSTR NAME file.exe
....info{\title NAME: Company - Alex Horan}{\author ...
The information I want is: 'Company - Alex Horan' - the information
always comes after NAME: and then finishes at the '}'
I need some method to count where in the string returned the NAME: ends
and the when the next '}' is - all the characters within that string
will be the information I want. I then need to extract that string out.
Is there anyway to do this in a batch file? If someone could point me in
the right direction I would really appreciate it!
Alex Horan
I have searched for this on line but have not had any luck.
I have a specific issue that I am trying to find a solution to. I
currently use the FINDSTR command to bring back some information from a
file. However I am getting too much information and would like to then
extract a string from within the output returned.
The output returned is shown:
FINDSTR NAME file.exe
....info{\title NAME: Company - Alex Horan}{\author ...
The information I want is: 'Company - Alex Horan' - the information
always comes after NAME: and then finishes at the '}'
I need some method to count where in the string returned the NAME: ends
and the when the next '}' is - all the characters within that string
will be the information I want. I then need to extract that string out.
Is there anyway to do this in a batch file? If someone could point me in
the right direction I would really appreciate it!
Alex Horan