Batch File to read a find string , read next 8 characters and echo the same from a text file

Job ID: 36230473

Budget: $10 – $30 USD

Text file is in a directory on windows box , need a batch file to read the text file and find for a string :20: and echo next 12 characters of field 20

That is if in the text file filed 20 is written like below:

:20:ABCD1234ZYXC

The batch file should echo the following

“Field 20 value is ABCD1234ZYXC”
Related categories: Shell Script Powershell