次の方法で共有


Ntcmdprompt

Runs the command interpreter Cmd.exe, rather than Command.com, after running a TSR or after starting the command prompt from within an MS-DOS application.

Syntax

ntcmdprompt

Parameters

/?   : Displays help at the command prompt.

Remarks

  • When Command.com is running, some features of Cmd.exe, such as the doskey display of command history, are not available. If you would prefer to run the Cmd.exe command interpreter after you have started a TSR or started the command prompt from within an application based on MS-DOS, you can use the ntcmdprompt command. However, keep in mind that the TSR may not be available for use when you are running Cmd.exe. You can include the ntcmdprompt command in your Config.nt file or the equivalent custom startup file in an application's program information file (PIF).

Examples

To include ntcmdprompt in your Config.nt file, or the configuration startup file specified in the PIF, type:

ntcmdprompt

Formatting legend

Format

Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Command-line reference A-Z

Doskey