I have a simple string as follows:
findstr /c:"error" acstest.x >reason.txt
what I am attempting is once the error is found I need to step back 3 lines to show the reson for the error.
So my question is how can I step back 3 lines and display the reason code... please bear in mind that the...
If you can help...My mind id blank on this....
I issue a simple string search for an error and once found I need to step back 3 lines to find out what the error was.
how would I step back the 3 lined and display the string
my find string:
findstr /i /c:"error" c:\acstest.x >
My thanks for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.