extern "C" CMDAPIIMPORT void CMDShowPrompt ( void * Interpreter, HFILE fd ) ;
The prompt string is queried from the process' environment and the prompt is printed to the file handle specified. When the $r sequence is encountered, the error level to be printed is queried from the given instance of the interpreter. The behaviour of the $i sequence is controlled by the ANSI prompt banner flag for the given instance of the interpreter.