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

ID: Q86819

2.00 MS-DOS kbtool kbprb

The information in this article applies to:

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

Last Reviewed: July 18, 1997