cmd.exe: Additional PROMPT options.

This commit is contained in:
Jason Edmeades 2007-03-04 22:33:51 +00:00 committed by Alexandre Julliard
parent 0efa91de15
commit 00ba810dbf

View File

@ -878,9 +878,15 @@ void WCMD_show_prompt (void) {
case '$':
*q++ = '$';
break;
case 'A':
*q++ = '&';
break;
case 'B':
*q++ = '|';
break;
case 'C':
*q++ = '(';
break;
case 'D':
GetDateFormat (LOCALE_USER_DEFAULT, DATE_SHORTDATE, NULL, NULL, q, MAX_PATH);
while (*q) q++;
@ -888,9 +894,15 @@ void WCMD_show_prompt (void) {
case 'E':
*q++ = '\E';
break;
case 'F':
*q++ = ')';
break;
case 'G':
*q++ = '>';
break;
case 'H':
*q++ = '\b';
break;
case 'L':
*q++ = '<';
break;
@ -910,13 +922,16 @@ void WCMD_show_prompt (void) {
case 'Q':
*q++ = '=';
break;
case 'S':
*q++ = ' ';
break;
case 'T':
GetTimeFormat (LOCALE_USER_DEFAULT, 0, NULL, NULL, q, MAX_PATH);
while (*q) q++;
break;
case 'V':
lstrcat (q, version_string);
while (*q) q++;
case 'V':
lstrcat (q, version_string);
while (*q) q++;
break;
case '_':
*q++ = '\n';