Radiomange
New member
- Local time
- 11:54 PM
- Messages
- 5
I am programming a search using some batch files and the following works correctly.
findstr /b /l "Pilot Name=" e:\dvd\test\ITrac.ini >out
It creates a file OUT that has the correct information in it, so I know the FINDSTR is working. I don't need a file, I need the output in a variable so I can strip the first 11 characters off the output and continue on. I can't seem to get that right. Anyone have suggestions?
findstr /b /l "Pilot Name=" e:\dvd\test\ITrac.ini >out
It creates a file OUT that has the correct information in it, so I know the FINDSTR is working. I don't need a file, I need the output in a variable so I can strip the first 11 characters off the output and continue on. I can't seem to get that right. Anyone have suggestions?
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Dell
- OS
- Windows 10 Home 32 bit