PRB: PWB Truncates Output Filename for Run MS-DOS Command

Last reviewed: July 17, 1997
Article ID: Q86819
2.00 MS-DOS kbtool kbprb

The information in this article applies to:

  • Microsoft Programmer's Workbench for MS-DOS, version 2.0

SYMPTOMS

Programmer's WorkBench (PWB) version 2.0, which ships with Microsoft C/C++ version 7.0, may truncate a filename entered for the output file of an MS-DOS command.

Steps to Reproduce Problem

  1. From the Run menu, choose Run DOS Command.

  2. Enter a filename that is longer than eight characters in the Output Filename field.

CAUSE

The problem occurs because under MS-DOS, a filename can only be up to eight characters long, with an extension of up to three characters. PWB truncates the filename entered so that it is a valid MS-DOS filename. This is expected behavior.

RESOLUTION

Enter only valid MS-DOS filenames when prompted for a filename.


Additional reference words: 2.00 2.1.49
KBCategory: kbtool kbprb
KBSubcategory PWBIss
Keywords : kb16bitonly


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.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.