replace \" with "" in rc files

fix non standard C code

svn path=/trunk/; revision=36353
This commit is contained in:
Christoph von Wittich 2008-09-20 14:55:49 +00:00
parent 64048965fe
commit 8c33fab48b
8 changed files with 22 additions and 22 deletions

View file

@ -15,10 +15,10 @@ Parameter List:\n\
user context. Prompts for input if omitted.\n\n\
/FO format Specifies the format in which the output\n\
is to be displayed.\n\
Valid values: \"TABLE\", \"LIST\", \"CSV\".\n\n\
/NH Specifies that the \"Column Header\" should\n\
Valid values: ""TABLE"", ""LIST"", ""CSV"".\n\n\
/NH Specifies that the ""Column Header"" should\n\
not be displayed in the output.\n\
Valid only for \"TABLE\" and \"CSV\" formats.\n\n\
Valid only for ""TABLE"" and ""CSV"" formats.\n\n\
/? Displays this help/usage.\n\n\
Examples:\n\
SYSTEMINFO\n\

View file

@ -20,10 +20,10 @@ Lista de Parametros:\n\
Pregunta por ella si es omitida.\n\n\
/FO formato Especifica el formato en el que la salida\n\
será mostrada.\n\
Valores válidos: \"TABLE\", \"LIST\", \"CSV\".\n\n\
/NH Especifica que la \"Columna cabezera\" no será\n\
Valores válidos: ""TABLE"", ""LIST"", ""CSV"".\n\n\
/NH Especifica que la ""Columna cabezera"" no será\n\
mostrada en la salida.\n\
Válido sólo para formatos \"TABLE\" y \"CSV\" .\n\n\
Válido sólo para formatos ""TABLE"" y ""CSV"" .\n\n\
/? Muestra esta ayuda.\n\n\
Ejemplos:\n\
SYSTEMINFO\n\

View file

@ -15,10 +15,10 @@ Parameter List:\n\
fourni. Le demande si ommis.\n\n\
/FO format Spécifie le format dans lequel la sortie\n\
doit être affichée.\n\
Valeurs valides: \"TABLE\", \"LIST\", \"CSV\".\n\n\
/NH Spécifie que \"L'entête de colonne\" ne doit\n\
Valeurs valides: ""TABLE"", ""LIST"", ""CSV"".\n\n\
/NH Spécifie que ""L'entête de colonne"" ne doit\n\
pas être affiché dans la sortie.\n\
Valide uniquement pour les format \"TABLE\" et \"CSV\".\n\n\
Valide uniquement pour les format ""TABLE"" et ""CSV"".\n\n\
/? Affiche cette aide.\n\n\
Exemples:\n\
SYSTEMINFO\n\

View file

@ -15,10 +15,10 @@ Parameter liste:\n\
bruker sammenheng. Prompts for input if omitted.\n\n\
/FO format Spesifisere formatet som i utgående\n\
som skal vises.\n\
Gyldige verdier: \"TABLE\", \"LIST\", \"CSV\".\n\n\
/NH Spesifisere at \"Column Header\" skal\n\
Gyldige verdier: ""TABLE"", ""LIST"", ""CSV"".\n\n\
/NH Spesifisere at ""Column Header"" skal\n\
ikke vises i utgående.\n\
Gyldig for bare \"TABLE\" og \"CSV\" formater.\n\n\
Gyldig for bare ""TABLE"" og ""CSV"" formater.\n\n\
/? Vis denne hjelp/bruk meldingen.\n\n\
Eksempler:\n\
SYSTEMINFO\n\

View file

@ -22,10 +22,10 @@ Lista parametr
Program sam zapyta o has這, je𦧺i nie jest podane.\n\n\
/FO format Wyznacza format w kt鏎ym wy菏ietlone zostan鈾n\
informacje o systemie.\n\
Dostępne formaty: \"TABLE\", \"LIST\", \"CSV\".\n\n\
/NH Blokuje wyświetlanie kolumny \"Column Header\" w\n\
Dostępne formaty: ""TABLE"", ""LIST"", ""CSV"".\n\n\
/NH Blokuje wyświetlanie kolumny ""Column Header"" w\n\
informacjach systemowych.\n\
Działa tylko z formatami \"TABLE\" i \"CSV\".\n\n\
Działa tylko z formatami ""TABLE"" i ""CSV"".\n\n\
/? Wy菏ietla niniejszy tekst pomocy.\n\n\
Przyk豉dy:\n\
SYSTEMINFO\n\

View file

@ -19,10 +19,10 @@ Parameter List:\n\
user context. Prompts for input if omitted.\n\n\
/FO form t Specifies the format in which the output\n\
is to be displayed.\n\
Valid values: \"TABLE\", \"LIST\", \"CSV\".\n\n\
/NH Specifies that the \"Column Header\" should\n\
Valid values: ""TABLE"", ""LIST"", ""CSV"".\n\n\
/NH Specifies that the ""Column Header"" should\n\
not be displayed in the output.\n\
Valid only for \"TABLE\" and \"CSV\" formats.\n\n\
Valid only for ""TABLE"" and ""CSV"" formats.\n\n\
/? Displays this help/usage.\n\n\
Examples:\n\
SYSTEMINFO\n\

View file

@ -23,10 +23,10 @@ IDS_USAGE, "SYSTEMINFO [/S
Запрошує введення пароля, якщо він не заданий.\n\n\
/FO формат Визначає формат, в якому відображаються\n\
вихідні дані.\n\
Äîïóñòèì³ ôîðìàòè: \"TABLE\", \"LIST\", \"CSV\".\n\n\
Äîïóñòèì³ ôîðìàòè: ""TABLE"", ""LIST"", ""CSV"".\n\n\
/NH Не відображати заголовки стовпців\n\
вихідних даних.\n\
Äîïóñêàºòüñÿ äëÿ ôîðìàò³â \"TABLE\" and \"CSV\".\n\n\
Äîïóñêàºòüñÿ äëÿ ôîðìàò³â ""TABLE"" and ""CSV"".\n\n\
/? Показує цю довідку.\n\n\
Приклади:\n\
SYSTEMINFO\n\

View file

@ -86,6 +86,7 @@ AllSysInfo(VOID)
TCHAR Buf[BUFFER_SIZE],Tmp[BUFFER_SIZE], Msg[BUFFER_SIZE];
MEMORYSTATUS memory;
unsigned int DIV = 1024;
TIME_ZONE_INFORMATION TimeZoneInfo;
GetSystemInfo(&SysInfo);
@ -201,8 +202,8 @@ AllSysInfo(VOID)
//getting Processor(s)
if(GetOemStrings(IDS_PROCESSORS,Msg))
{
fprintf(stderr,Msg,(unsigned int)SysInfo.dwNumberOfProcessors);
unsigned int i;
fprintf(stderr,Msg,(unsigned int)SysInfo.dwNumberOfProcessors);
for(i = 0; i < (unsigned int)SysInfo.dwNumberOfProcessors; i++)
{
sprintf(Tmp,"HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\%u",i);
@ -275,7 +276,6 @@ AllSysInfo(VOID)
}
//getting Time Zone
TIME_ZONE_INFORMATION TimeZoneInfo;
GetTimeZoneInformation(&TimeZoneInfo);
sprintf(Tmp,"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones\\%S",TimeZoneInfo.StandardName);
if (GetRegistryValue(HKEY_LOCAL_MACHINE,