DOCUMENT:Q94581 26-JUN-2001 [utilities] TITLE :BUG: Redirected CodeView Output Yields Unexpected Results PRODUCT :Microsoft Programming Utilities PROD/VER::4.0,4.01,4.05,4.1 OPER/SYS: KEYWORDS:kb16bitonly ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft CodeView for MS-DOS, versions 4.0, 4.01, 4.05, 4.1 ------------------------------------------------------------------------------- SYMPTOMS ======== When the CodeView debugger command line specifies the output redirection operator (>) and the user invokes an MS-DOS shell in CodeView, the output from any commands executed in the MS-DOS shell is included in the file created by the output redirection. RESOLUTION ========== Command line output redirection works without problem if the user does not invoke an MS-DOS shell. If the user invokes an MS-DOS shell, operation occurs "in the dark" because application prompts and your responses do not appear on the screen. The redirection places this information in the output file. STATUS ====== Microsoft has confirmed this to be a problem in CodeView versions 4.0, 4.01, 4.05, and 4.1 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION ================ A redirection operator on the MS-DOS command line captures into a file all output to the standard output device (stdout). Output to the standard error device (stderr) is not affected. Additional query words: 4.00 ====================================================================== Keywords : kb16bitonly Technology : kbAudDeveloper kbCodeView kbZNotKeyword3 kbCodeView400DOS kbCodeView401DOS kbCodeView405DOS kbCodeView410DOS Version : :4.0,4.01,4.05,4.1 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.