--- trunk/reactos/subsys/system/cmd/prompt.c 2005-07-15 15:31:14 UTC (rev 16583)
+++ trunk/reactos/subsys/system/cmd/prompt.c 2005-07-15 17:31:12 UTC (rev 16584)
@@ -105,6 +105,8 @@
case _T('H'):
ConOutChar (_T('\x08'));
+ ConOutChar (_T(' '));
+ ConOutChar (_T('\x08'));
break;
case _T('L'):
@@ -132,9 +134,14 @@
break;
case _T('T'):
- PrintTime ();
+ //PrintTime ();
+ {
+ TCHAR szTime[32];
+ GetTimeFormat(LOCALE_USER_DEFAULT, 0, NULL, NULL,szTime, sizeof(szTime));
+ ConOutPrintf("%s",szTime);
+ }
break;
-
+
case _T('V'):
switch (osvi.dwPlatformId)
{
@@ -146,6 +153,7 @@
ConOutPrintf (_T("Windows 95"));
break;
+
case VER_PLATFORM_WIN32_NT:
ConOutPrintf (_T("Windows NT Version %lu.%lu"),
osvi.dwMajorVersion, osvi.dwMinorVersion);