I have a log file that is giving me results, line by line, similar to the one listed below:
This continues with different dates and different log files for several thousands of lines.
I'd like to set a FOR loop that views the text file, but deletes everything before value.
FOR /F "tokens=* delims=" %%i in (C:\test\master_logs.txt) DO (
echo %sort% >> sorted_logs.txt
The above loop is what I currently have, but only outputs ECHO is off in the sorted_logs.txt file
I believe my issue is with the first set, in that it is trying to set a parameter value as a variable, and for some reason it doesn't like that.
Does anyone know how this can be easily accomplished?