Changing MS-DOS Command Prompt Under WindowsLast reviewed: November 23, 1994Article ID: Q92366 |
The information in this article applies to:
SUMMARYYou can display a custom MS-DOS prompt when you run MS-DOS Prompt from Program Manager.
Changing the MS-DOS Prompt Under Windows 3.1 and 3.11Under Windows 3.1 you can change the look of the MS-DOS command prompt inside of Windows because the WINPMT environment variable was added to Windows. You can change this variable by using the SET command in the AUTOEXEC.BAT file. For example:
SET WINPMT=Windows Shell - $p$g Changing the MS-DOS Prompt Under Windows 3.0 and 3.0aTo change the MS-DOS command prompt in Windows 3.0 and 3.0a, you must create a batch file to modify the PROMPT environment variable. You can then start the batch file instead of COMMAND.COM. The following is a sample batch file:
@echo off prompt Windows Shell - $p$g command.comAfter making the batch file, change the MS-DOS Prompt icon's program name from COMMAND.COM to the name of the batch file from the Program Item Properties dialog box.
|
KBCategory: kbenv kbdisplay
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |