|I have a txt file that is formated like this:|
BackupSet Name= CsComputer, ID= 1149451491216
BackupSet Name= MacBook, ID= 1225425991161
BackupSet Name= Office Desktop, ID= 1234397390047
BackupSet Name= File Demo, ID= 1244129637412
BackupSet Name= SQL Demo, ID= 1244556292461
I need to be able to read this txt file from a batch program, find a specific string like "File Demo", then return the last 13 characters of that line, which happen to be the BackupSet ID. Or if its better to to grab everything after the "=" and trim the space.
Thanks so much.