I have a command line tool that typically dumps about 200 lines of output. I am looking for the text that appears at the end of this conclusion. When I redirect the output to a file:
C:\> somecommand > results.txt 2>&1
... only the first 100 lines of output are displayed in this file. Similarly, if I pass the output to something like "findstr", the receiving program will not be able to find or use any text after about the 100th line.
The screen buffer size settings for the shell do not seem to affect the number of lines that can be written.
Any ideas what is going on here? For what it's worth, the team in question is iscmdbld.exe from InstallShield 2012.
This problem does not occur with other commands programmed by me (for example, "dir").
The full output of the program can be viewed only when the command is run in the cmd window.
source
share