Microsoft KB Archive/60213

Prompt String “$v” Adds Extra Spaces PSS ID Number: Q60213 Article last modified on 07-14-1993 PSS database name: O_MSDOS

3.30 3.30a

MS-DOS

Summary:

The “Microsoft MS-DOS Version 3.30 User’s Guide” states on Page 101 that the “$v” sequence can be placed in a PROMPT string to display the current MS-DOS version information in the MS-DOS prompt. However, extra spaces are added after the MS-DOS version name, causing any text on the same line after the version information to be moved to the right by 21 spaces.

The prompt command of “PROMPT $V$ G” produces the following

MS-DOS Version 3.30 >

instead of the following expected output:

MS-DOS Version 3.30>

Microsoft has confirmed this to be a problem with MS-DOS versions 3.30 and 3.30a. This problem does not occur in later versions of MS-DOS.

Additional reference words: 3.3 noupd

Copyright Microsoft Corporation 1993.