https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4984e1b8104bee1cd5867f...
commit 4984e1b8104bee1cd5867fb08919ed4ade81b79e Author: Eric Kohl eric.kohl@reactos.org AuthorDate: Mon Dec 24 10:20:44 2018 +0100 Commit: Eric Kohl eric.kohl@reactos.org CommitDate: Mon Dec 24 10:20:44 2018 +0100
[NET] Move START, STATISTICS and STOP command syntax and help texts into a message table. --- base/applications/network/net/cmdStart.c | 8 +- base/applications/network/net/cmdStatistics.c | 7 +- base/applications/network/net/cmdStop.c | 8 +- base/applications/network/net/help.c | 17 +- base/applications/network/net/lang/en-US.rc | 19 -- base/applications/network/net/lang/es-ES.rc | 18 -- base/applications/network/net/lang/pl-PL.rc | 19 -- base/applications/network/net/lang/ro-RO.rc | 18 -- base/applications/network/net/lang/ru-RU.rc | 18 -- base/applications/network/net/lang/tr-TR.rc | 18 -- base/applications/network/net/lang/zh-CN.rc | 18 -- base/applications/network/net/lang/zh-TW.rc | 18 -- base/applications/network/net/resource.h | 11 - sdk/include/reactos/mc/net_msg.mc | 316 ++++++++++++++++++++++++++ 14 files changed, 331 insertions(+), 182 deletions(-)
diff --git a/base/applications/network/net/cmdStart.c b/base/applications/network/net/cmdStart.c index 00847c5ce3..082fa79d1d 100644 --- a/base/applications/network/net/cmdStart.c +++ b/base/applications/network/net/cmdStart.c @@ -57,7 +57,7 @@ EnumerateRunningServices(VOID) &dwServiceCount, &dwResumeHandle)) { - ConPuts(StdOut, L"The following services hav been started:\n\n"); + ConPuts(StdOut, L"The following services have been started:\n\n");
for (i = 0; i < dwServiceCount; i++) { @@ -174,10 +174,8 @@ cmdStart(INT argc, WCHAR **argv) if (_wcsicmp(argv[i], L"/help") == 0) { ConResPuts(StdOut, IDS_GENERIC_SYNTAX); - ConResPuts(StdOut, IDS_START_SYNTAX); - ConResPuts(StdOut, IDS_START_HELP_1); - ConResPuts(StdOut, IDS_START_HELP_2); - ConResPuts(StdOut, IDS_START_HELP_3); + PrintNetMessage(MSG_START_SYNTAX); + PrintNetMessage(MSG_START_HELP); return 1; } } diff --git a/base/applications/network/net/cmdStatistics.c b/base/applications/network/net/cmdStatistics.c index 652445ace4..7c69fcdf9d 100644 --- a/base/applications/network/net/cmdStatistics.c +++ b/base/applications/network/net/cmdStatistics.c @@ -265,7 +265,7 @@ cmdStatistics( { /* Print short syntax help */ ConResPuts(StdOut, IDS_GENERIC_SYNTAX); - ConResPuts(StdOut, IDS_STATISTICS_SYNTAX); + PrintNetMessage(MSG_STATISTICS_SYNTAX); return 0; }
@@ -273,9 +273,8 @@ cmdStatistics( { /* Print full help text*/ ConResPuts(StdOut, IDS_GENERIC_SYNTAX); - ConResPuts(StdOut, IDS_STATISTICS_SYNTAX); - ConResPuts(StdOut, IDS_STATISTICS_HELP_1); - ConResPuts(StdOut, IDS_STATISTICS_HELP_2); + PrintNetMessage(MSG_STATISTICS_SYNTAX); + PrintNetMessage(MSG_STATISTICS_HELP); return 0; } } diff --git a/base/applications/network/net/cmdStop.c b/base/applications/network/net/cmdStop.c index 48e857a5a0..dbb0cdd023 100644 --- a/base/applications/network/net/cmdStop.c +++ b/base/applications/network/net/cmdStop.c @@ -21,7 +21,7 @@ INT cmdStop(INT argc, WCHAR **argv) if (argc != 3) { ConResPuts(StdOut, IDS_GENERIC_SYNTAX); - ConResPuts(StdOut, IDS_STOP_SYNTAX); + PrintNetMessage(MSG_STOP_SYNTAX); return 1; }
@@ -30,10 +30,8 @@ INT cmdStop(INT argc, WCHAR **argv) if (_wcsicmp(argv[i], L"/help") == 0) { ConResPuts(StdOut, IDS_GENERIC_SYNTAX); - ConResPuts(StdOut, IDS_STOP_SYNTAX); - ConResPuts(StdOut, IDS_STOP_HELP_1); - ConResPuts(StdOut, IDS_STOP_HELP_2); - ConResPuts(StdOut, IDS_STOP_HELP_3); + PrintNetMessage(MSG_STOP_SYNTAX); + PrintNetMessage(MSG_STOP_HELP); return 1; } } diff --git a/base/applications/network/net/help.c b/base/applications/network/net/help.c index d509594a37..6d248d22f5 100644 --- a/base/applications/network/net/help.c +++ b/base/applications/network/net/help.c @@ -134,27 +134,22 @@ INT cmdHelp(INT argc, WCHAR **argv)
if (_wcsicmp(argv[2], L"START") == 0) { - ConResPuts(StdOut, IDS_START_SYNTAX); - ConResPuts(StdOut, IDS_START_HELP_1); - ConResPuts(StdOut, IDS_START_HELP_2); - ConResPuts(StdOut, IDS_START_HELP_3); + PrintNetMessage(MSG_START_SYNTAX); + PrintNetMessage(MSG_START_HELP); return 0; }
if (_wcsicmp(argv[2], L"STATISTICS") == 0) { - ConResPuts(StdOut, IDS_STATISTICS_SYNTAX); - ConResPuts(StdOut, IDS_STATISTICS_HELP_1); - ConResPuts(StdOut, IDS_STATISTICS_HELP_2); + PrintNetMessage(MSG_STATISTICS_SYNTAX); + PrintNetMessage(MSG_STATISTICS_HELP); return 0; }
if (_wcsicmp(argv[2], L"STOP") == 0) { - ConResPuts(StdOut, IDS_STOP_SYNTAX); - ConResPuts(StdOut, IDS_STOP_HELP_1); - ConResPuts(StdOut, IDS_STOP_HELP_2); - ConResPuts(StdOut, IDS_STOP_HELP_3); + PrintNetMessage(MSG_STOP_SYNTAX); + PrintNetMessage(MSG_STOP_HELP); return 0; }
diff --git a/base/applications/network/net/lang/en-US.rc b/base/applications/network/net/lang/en-US.rc index cd8f368158..786d153758 100644 --- a/base/applications/network/net/lang/en-US.rc +++ b/base/applications/network/net/lang/en-US.rc @@ -2,25 +2,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE BEGIN - IDS_START_SYNTAX "NET START [service]\n\n" - IDS_START_HELP_1 "NET START starts services or lists running services.\n\n" - IDS_START_HELP_2 "service The name of the service to be started.\n\n" - IDS_START_HELP_3 "When typed at the command prompt, service name of two words or more must\n\ -be enclosed in quotation marks. For example, NET START ""NET LOGON""\n\ -starts the net logon service.\n\n" - IDS_STATISTICS_SYNTAX "NET STATISTICS [SERVER | WORKSTATION]\n\n" - IDS_STATISTICS_HELP_1 "NET STATISTICS displays the statisticslog for the local Workstation or\n\ -Server service. Used without parameters, NET STATISTICS displays\n\ -the services for which statistics are available.\n\n" - IDS_STATISTICS_HELP_2 "SERVER Displays the Server service statistics.\n\ -WORKSTATION Displays the Workstation service statistics.\n\n" - - IDS_STOP_SYNTAX "NET STOP service\n\n" - IDS_STOP_HELP_1 "NET STOP stops services.\n\n" - IDS_STOP_HELP_2 "service The name of the service to be stopped.\n\n" - IDS_STOP_HELP_3 "Stopping a service cancels any network connection the service is\n\ -using. Also, some services are dependent on others. Stopping one\n\ -service can stop others. Some services cannot be stopped.\n\n" IDS_TIME_SYNTAX "NET TIME ...\n\n" IDS_TIME_HELP "TIME\n...\n\n" IDS_USE_SYNTAX "NET USE ...\n\n" diff --git a/base/applications/network/net/lang/es-ES.rc b/base/applications/network/net/lang/es-ES.rc index 39950eb2b6..e3ceadf8a5 100644 --- a/base/applications/network/net/lang/es-ES.rc +++ b/base/applications/network/net/lang/es-ES.rc @@ -5,24 +5,6 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE BEGIN - IDS_START_SYNTAX "NET START [service]\n\n" - IDS_START_HELP_1 "NET START starts services or lists running services.\n\n" - IDS_START_HELP_2 "service The name of the service to be started.\n\n" - IDS_START_HELP_3 "When typed at the command prompt, service name of two words or more must\n\ -be enclosed in quotation marks. For example, NET START ""NET LOGON""\n\ -starts the net logon service.\n\n" - IDS_STATISTICS_SYNTAX "NET STATISTICS [SERVER | WORKSTATION]\n\n" - IDS_STATISTICS_HELP_1 "NET STATISTICS displays the statisticslog for the local Workstation or\n\ -Server service. Used without parameters, NET STATISTICS displays\n\ -the services for which statistics are available.\n\n" - IDS_STATISTICS_HELP_2 "SERVER Displays the Server service statistics.\n\ -WORKSTATION Displays the Workstation service statistics.\n\n" - IDS_STOP_SYNTAX "NET STOP <nombre del servicio>\n\n" - IDS_STOP_HELP_1 "NET STOP stops services.\n\n" - IDS_STOP_HELP_2 "service The name of the service to be stopped.\n\n" - IDS_STOP_HELP_3 "Stopping a service cancels any network connection the service is\n\ -using. Also, some services are dependent on others. Stopping one\n\ -service can stop others. Some services cannot be stopped.\n\n" IDS_TIME_SYNTAX "NET TIME ...\n\n" IDS_TIME_HELP "TIME\n...\n\n" IDS_USE_SYNTAX "NET USE ...\n\n" diff --git a/base/applications/network/net/lang/pl-PL.rc b/base/applications/network/net/lang/pl-PL.rc index b41750401a..6780dcfa01 100644 --- a/base/applications/network/net/lang/pl-PL.rc +++ b/base/applications/network/net/lang/pl-PL.rc @@ -1,25 +1,6 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT STRINGTABLE BEGIN - IDS_START_SYNTAX "NET START [usługa]\n\n" - IDS_START_HELP_1 "NET START uruchamia usługi lub wyświetla uruchomione usługi.\n\n" - IDS_START_HELP_2 "usługa Nazwa uruchamianej usługi.\n\n" - IDS_START_HELP_3 "Nazwy usług mające dwa lub więcej słów wpisywane w.\n\ -wierszu polecenia muszą być ujęte w cudzysłów. Przykładowo,\n\ -NET START ""NET LOGON"" uruchamia usługę logowania w sieci.\n\n" - IDS_STATISTICS_SYNTAX "NET STATISTICS [SERVER | WORKSTATION]\n\n" - IDS_STATISTICS_HELP_1 "NET STATISTICS wyświetla dziennik statystyki dla lokalnej usługi\n\ -Stacja robocza lub Serwer. Użyte bez parametrów, NET STATISTICS wyświetla\n\ -usługi dla których statystyka jest dostępna.\n\n" - IDS_STATISTICS_HELP_2 "SERVER Wyświetla statystykę usługi Serwer.\n\ -WORKSTATION Wyświetla statystykę usługi Stacja robocza.\n\n" - - IDS_STOP_SYNTAX "NET STOP usługa\n\n" - IDS_STOP_HELP_1 "NET STOP zatrzymuje usługi.\n\n" - IDS_STOP_HELP_2 "usługa Nazwa zatrzymywanej usługi.\n\n" - IDS_STOP_HELP_3 "Zatrzymanie usługi rozłącza wszystkie połączenia sieciowe\n\ -używane przez usługę. Niektóre usługi zależą od innych. Zatrzymanie jednej\n\ -może też zatrzymać inne. Niektóre usługi nie mogą być zatrzymane.\n\n" IDS_TIME_SYNTAX "NET TIME ...\n\n" IDS_TIME_HELP "TIME\n...\n\n" IDS_USE_SYNTAX "NET USE ...\n\n" diff --git a/base/applications/network/net/lang/ro-RO.rc b/base/applications/network/net/lang/ro-RO.rc index 563cc9635a..1f42b72a30 100644 --- a/base/applications/network/net/lang/ro-RO.rc +++ b/base/applications/network/net/lang/ro-RO.rc @@ -8,24 +8,6 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE BEGIN - IDS_START_SYNTAX "NET START [service]\n\n" - IDS_START_HELP_1 "NET START starts services or lists running services.\n\n" - IDS_START_HELP_2 "service The name of the service to be started.\n\n" - IDS_START_HELP_3 "When typed at the command prompt, service name of two words or more must\n\ -be enclosed in quotation marks. For example, NET START ""NET LOGON""\n\ -starts the net logon service.\n\n" - IDS_STATISTICS_SYNTAX "NET STATISTICS [SERVER | WORKSTATION]\n\n" - IDS_STATISTICS_HELP_1 "NET STATISTICS displays the statisticslog for the local Workstation or\n\ -Server service. Used without parameters, NET STATISTICS displays\n\ -the services for which statistics are available.\n\n" - IDS_STATISTICS_HELP_2 "SERVER Displays the Server service statistics.\n\ -WORKSTATION Displays the Workstation service statistics.\n\n" - IDS_STOP_SYNTAX "NET STOP <nume serviciu>\n\n" - IDS_STOP_HELP_1 "NET STOP stops services.\n\n" - IDS_STOP_HELP_2 "service The name of the service to be stopped.\n\n" - IDS_STOP_HELP_3 "Stopping a service cancels any network connection the service is\n\ -using. Also, some services are dependent on others. Stopping one\n\ -service can stop others. Some services cannot be stopped.\n\n" IDS_TIME_SYNTAX "NET TIME ...\n\n" IDS_TIME_HELP "TIME\n...\n\n" IDS_USE_SYNTAX "NET USE ...\n\n" diff --git a/base/applications/network/net/lang/ru-RU.rc b/base/applications/network/net/lang/ru-RU.rc index 4e260e89ed..51c3931df6 100644 --- a/base/applications/network/net/lang/ru-RU.rc +++ b/base/applications/network/net/lang/ru-RU.rc @@ -4,24 +4,6 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE BEGIN - IDS_START_SYNTAX "NET START [service]\n\n" - IDS_START_HELP_1 "NET START starts services or lists running services.\n\n" - IDS_START_HELP_2 "service The name of the service to be started.\n\n" - IDS_START_HELP_3 "When typed at the command prompt, service name of two words or more must\n\ -be enclosed in quotation marks. For example, NET START ""NET LOGON""\n\ -starts the net logon service.\n\n" - IDS_STATISTICS_SYNTAX "NET STATISTICS [SERVER | WORKSTATION]\n\n" - IDS_STATISTICS_HELP_1 "NET STATISTICS displays the statisticslog for the local Workstation or\n\ -Server service. Used without parameters, NET STATISTICS displays\n\ -the services for which statistics are available.\n\n" - IDS_STATISTICS_HELP_2 "SERVER Displays the Server service statistics.\n\ -WORKSTATION Displays the Workstation service statistics.\n\n" - IDS_STOP_SYNTAX "NET STOP <имя_службы>\n\n" - IDS_STOP_HELP_1 "NET STOP stops services.\n\n" - IDS_STOP_HELP_2 "service The name of the service to be stopped.\n\n" - IDS_STOP_HELP_3 "Stopping a service cancels any network connection the service is\n\ -using. Also, some services are dependent on others. Stopping one\n\ -service can stop others. Some services cannot be stopped.\n\n" IDS_TIME_SYNTAX "NET TIME ...\n\n" IDS_TIME_HELP "TIME\n...\n\n" IDS_USE_SYNTAX "NET USE ...\n\n" diff --git a/base/applications/network/net/lang/tr-TR.rc b/base/applications/network/net/lang/tr-TR.rc index 20d8d3198c..01b0d7ef3f 100644 --- a/base/applications/network/net/lang/tr-TR.rc +++ b/base/applications/network/net/lang/tr-TR.rc @@ -4,24 +4,6 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE BEGIN - IDS_START_SYNTAX "NET START [service]\n\n" - IDS_START_HELP_1 "NET START starts services or lists running services.\n\n" - IDS_START_HELP_2 "service The name of the service to be started.\n\n" - IDS_START_HELP_3 "When typed at the command prompt, service name of two words or more must\n\ -be enclosed in quotation marks. For example, NET START ""NET LOGON""\n\ -starts the net logon service.\n\n" - IDS_STATISTICS_SYNTAX "NET STATISTICS [SERVER | WORKSTATION]\n\n" - IDS_STATISTICS_HELP_1 "NET STATISTICS displays the statisticslog for the local Workstation or\n\ -Server service. Used without parameters, NET STATISTICS displays\n\ -the services for which statistics are available.\n\n" - IDS_STATISTICS_HELP_2 "SERVER Displays the Server service statistics.\n\ -WORKSTATION Displays the Workstation service statistics.\n\n" - IDS_STOP_SYNTAX "NET STOP <Hizmet Adı>\n\n" - IDS_STOP_HELP_1 "NET STOP stops services.\n\n" - IDS_STOP_HELP_2 "service The name of the service to be stopped.\n\n" - IDS_STOP_HELP_3 "Stopping a service cancels any network connection the service is\n\ -using. Also, some services are dependent on others. Stopping one\n\ -service can stop others. Some services cannot be stopped.\n\n" IDS_TIME_SYNTAX "NET TIME ...\n\n" IDS_TIME_HELP "TIME\n...\n\n" IDS_USE_SYNTAX "NET USE ...\n\n" diff --git a/base/applications/network/net/lang/zh-CN.rc b/base/applications/network/net/lang/zh-CN.rc index c8b4cee23d..ec91e650a1 100644 --- a/base/applications/network/net/lang/zh-CN.rc +++ b/base/applications/network/net/lang/zh-CN.rc @@ -4,24 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE BEGIN - IDS_START_SYNTAX "NET START [service]\n\n" - IDS_START_HELP_1 "NET START starts services or lists running services.\n\n" - IDS_START_HELP_2 "service The name of the service to be started.\n\n" - IDS_START_HELP_3 "When typed at the command prompt, service name of two words or more must\n\ -be enclosed in quotation marks. For example, NET START ""NET LOGON""\n\ -starts the net logon service.\n\n" - IDS_STATISTICS_SYNTAX "NET STATISTICS [SERVER | WORKSTATION]\n\n" - IDS_STATISTICS_HELP_1 "NET STATISTICS displays the statisticslog for the local Workstation or\n\ -Server service. Used without parameters, NET STATISTICS displays\n\ -the services for which statistics are available.\n\n" - IDS_STATISTICS_HELP_2 "SERVER Displays the Server service statistics.\n\ -WORKSTATION Displays the Workstation service statistics.\n\n" - IDS_STOP_SYNTAX "NET STOP service\n\n" - IDS_STOP_HELP_1 "NET STOP stops services.\n\n" - IDS_STOP_HELP_2 "service The name of the service to be stopped.\n\n" - IDS_STOP_HELP_3 "Stopping a service cancels any network connection the service is\n\ -using. Also, some services are dependent on others. Stopping one\n\ -service can stop others. Some services cannot be stopped.\n\n" IDS_TIME_SYNTAX "NET TIME ...\n\n" IDS_TIME_HELP "TIME\n...\n\n" IDS_USE_SYNTAX "NET USE ...\n\n" diff --git a/base/applications/network/net/lang/zh-TW.rc b/base/applications/network/net/lang/zh-TW.rc index 09f5b2c155..c0de71ae1e 100644 --- a/base/applications/network/net/lang/zh-TW.rc +++ b/base/applications/network/net/lang/zh-TW.rc @@ -4,24 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE BEGIN - IDS_START_SYNTAX "NET START [service]\n\n" - IDS_START_HELP_1 "NET START starts services or lists running services.\n\n" - IDS_START_HELP_2 "service The name of the service to be started.\n\n" - IDS_START_HELP_3 "When typed at the command prompt, service name of two words or more must\n\ -be enclosed in quotation marks. For example, NET START ""NET LOGON""\n\ -starts the net logon service.\n\n" - IDS_STATISTICS_SYNTAX "NET STATISTICS [SERVER | WORKSTATION]\n\n" - IDS_STATISTICS_HELP_1 "NET STATISTICS displays the statisticslog for the local Workstation or\n\ -Server service. Used without parameters, NET STATISTICS displays\n\ -the services for which statistics are available.\n\n" - IDS_STATISTICS_HELP_2 "SERVER Displays the Server service statistics.\n\ -WORKSTATION Displays the Workstation service statistics.\n\n" - IDS_STOP_SYNTAX "NET STOP <服務名稱>\n\n" - IDS_STOP_HELP_1 "NET STOP stops services.\n\n" - IDS_STOP_HELP_2 "service The name of the service to be stopped.\n\n" - IDS_STOP_HELP_3 "Stopping a service cancels any network connection the service is\n\ -using. Also, some services are dependent on others. Stopping one\n\ -service can stop others. Some services cannot be stopped.\n\n" IDS_TIME_SYNTAX "NET TIME ...\n\n" IDS_TIME_HELP "TIME\n...\n\n" IDS_USE_SYNTAX "NET USE ...\n\n" diff --git a/base/applications/network/net/resource.h b/base/applications/network/net/resource.h index 93bea7b079..2cd9cd9bc9 100644 --- a/base/applications/network/net/resource.h +++ b/base/applications/network/net/resource.h @@ -1,16 +1,5 @@ #pragma once
-#define IDS_START_SYNTAX 163 -#define IDS_START_HELP_1 164 -#define IDS_START_HELP_2 165 -#define IDS_START_HELP_3 166 -#define IDS_STATISTICS_SYNTAX 167 -#define IDS_STATISTICS_HELP_1 168 -#define IDS_STATISTICS_HELP_2 169 -#define IDS_STOP_SYNTAX 170 -#define IDS_STOP_HELP_1 171 -#define IDS_STOP_HELP_2 172 -#define IDS_STOP_HELP_3 173 #define IDS_TIME_SYNTAX 174 #define IDS_TIME_HELP 175 #define IDS_USE_SYNTAX 176 diff --git a/sdk/include/reactos/mc/net_msg.mc b/sdk/include/reactos/mc/net_msg.mc index dbeb3a126c..4ee5c19a76 100644 --- a/sdk/include/reactos/mc/net_msg.mc +++ b/sdk/include/reactos/mc/net_msg.mc @@ -2120,3 +2120,319 @@ SHARE ... .
+ +MessageId=10032 +SymbolicName=MSG_START_SYNTAX +Severity=Success +Facility=System +Language=English +NET START [service] +. +Language=Polish +NET START [usługa] +. +Language=Romanian +NET START [service] +. +Language=Russian +NET START [service] +. +Language=Spanish +NET START [service] +. +Language=Turkish +NET START [service] +. +Language=Chinese +NET START [service] +. +Language=Taiwanese +NET START [service] +. + + +MessageId=10033 +SymbolicName=MSG_START_HELP +Severity=Success +Facility=System +Language=English +NET START starts services or lists running services. + +service The name of the service to be started. + +When typed at the command prompt, service name of two words or more must +be enclosed in quotation marks. For example, NET START "NET LOGON" +starts the net logon service. +. +Language=Polish +NET START uruchamia usługi lub wyświetla uruchomione usługi. + +usługa Nazwa uruchamianej usługi. + +Nazwy usług mające dwa lub więcej słów wpisywane w. +wierszu polecenia muszą być ujęte w cudzysłów. Przykładowo, +NET START "NET LOGON" uruchamia usługę logowania w sieci. +. +Language=Romanian +NET START starts services or lists running services. + +service The name of the service to be started. + +When typed at the command prompt, service name of two words or more must +be enclosed in quotation marks. For example, NET START "NET LOGON" +starts the net logon service. +. +Language=Russian +NET START starts services or lists running services. + +service The name of the service to be started. + +When typed at the command prompt, service name of two words or more must +be enclosed in quotation marks. For example, NET START "NET LOGON" +starts the net logon service. +. +Language=Spanish +NET START starts services or lists running services. + +service The name of the service to be started. + +When typed at the command prompt, service name of two words or more must +be enclosed in quotation marks. For example, NET START "NET LOGON" +starts the net logon service. +. +Language=Turkish +NET START starts services or lists running services. + +service The name of the service to be started. + +When typed at the command prompt, service name of two words or more must +be enclosed in quotation marks. For example, NET START "NET LOGON" +starts the net logon service. +. +Language=Chinese +NET START starts services or lists running services. + +service The name of the service to be started. + +When typed at the command prompt, service name of two words or more must +be enclosed in quotation marks. For example, NET START "NET LOGON" +starts the net logon service. +. +Language=Taiwanese +NET START starts services or lists running services. + +service The name of the service to be started. + +When typed at the command prompt, service name of two words or more must +be enclosed in quotation marks. For example, NET START "NET LOGON" +starts the net logon service. +. + + +MessageId=10034 +SymbolicName=MSG_STATISTICS_SYNTAX +Severity=Success +Facility=System +Language=English +NET STATISTICS [SERVER | WORKSTATION] +. +Language=Polish +NET STATISTICS [SERVER | WORKSTATION] +. +Language=Romanian +NET STATISTICS [SERVER | WORKSTATION] +. +Language=Russian +NET STATISTICS [SERVER | WORKSTATION] +. +Language=Spanish +NET STATISTICS [SERVER | WORKSTATION] +. +Language=Turkish +NET STATISTICS [SERVER | WORKSTATION] +. +Language=Chinese +NET STATISTICS [SERVER | WORKSTATION] +. +Language=Taiwanese +NET STATISTICS [SERVER | WORKSTATION] +. + + +MessageId=10035 +SymbolicName=MSG_STATISTICS_HELP +Severity=Success +Facility=System +Language=English +NET STATISTICS displays the statisticslog for the local Workstation or +Server service. Used without parameters, NET STATISTICS displays +the services for which statistics are available. + +SERVER Displays the Server service statistics. +WORKSTATION Displays the Workstation service statistics. +. +Language=Polish +NET STATISTICS wyświetla dziennik statystyki dla lokalnej usługi +Stacja robocza lub Serwer. Użyte bez parametrów, NET STATISTICS wyświetla +usługi dla których statystyka jest dostępna. + +SERVER Wyświetla statystykę usługi Serwer. +WORKSTATION Wyświetla statystykę usługi Stacja robocza. +. +Language=Romanian +NET STATISTICS displays the statisticslog for the local Workstation or +Server service. Used without parameters, NET STATISTICS displays +the services for which statistics are available. + +SERVER Displays the Server service statistics. +WORKSTATION Displays the Workstation service statistics. +. +Language=Russian +NET STATISTICS displays the statisticslog for the local Workstation or +Server service. Used without parameters, NET STATISTICS displays +the services for which statistics are available. + +SERVER Displays the Server service statistics. +WORKSTATION Displays the Workstation service statistics. +. +Language=Spanish +NET STATISTICS displays the statisticslog for the local Workstation or +Server service. Used without parameters, NET STATISTICS displays +the services for which statistics are available. + +SERVER Displays the Server service statistics. +WORKSTATION Displays the Workstation service statistics. +. +Language=Turkish +NET STATISTICS displays the statisticslog for the local Workstation or +Server service. Used without parameters, NET STATISTICS displays +the services for which statistics are available. + +SERVER Displays the Server service statistics. +WORKSTATION Displays the Workstation service statistics. +. +Language=Chinese +NET STATISTICS displays the statisticslog for the local Workstation or +Server service. Used without parameters, NET STATISTICS displays +the services for which statistics are available. + +SERVER Displays the Server service statistics. +WORKSTATION Displays the Workstation service statistics. +. +Language=Taiwanese +NET STATISTICS displays the statisticslog for the local Workstation or +Server service. Used without parameters, NET STATISTICS displays +the services for which statistics are available. + +SERVER Displays the Server service statistics. +WORKSTATION Displays the Workstation service statistics. +. + + +MessageId=10036 +SymbolicName=MSG_STOP_SYNTAX +Severity=Success +Facility=System +Language=English +NET STOP service +. +Language=Polish +NET STOP usługa +. +Language=Romanian +NET STOP <nume serviciu> +. +Language=Russian +NET STOP <имя_службы> +. +Language=Spanish +NET STOP <nombre del servicio> +. +Language=Turkish +NET STOP <Hizmet Adı> +. +Language=Chinese +NET STOP service +. +Language=Taiwanese +NET STOP <服務名稱> +. + + +MessageId=10037 +SymbolicName=MSG_STOP_HELP +Severity=Success +Facility=System +Language=English +NET STOP stops services. + +service The name of the service to be stopped. + +Stopping a service cancels any network connection the service is +using. Also, some services are dependent on others. Stopping one +service can stop others. Some services cannot be stopped. +. +Language=Polish +NET STOP zatrzymuje usługi. + +usługa Nazwa zatrzymywanej usługi. + +Zatrzymanie usługi rozłącza wszystkie połączenia sieciowe +używane przez usługę. Niektóre usługi zależą od innych. Zatrzymanie jednej +może też zatrzymać inne. Niektóre usługi nie mogą być zatrzymane. +. +Language=Romanian +NET STOP stops services. + +service The name of the service to be stopped. + +Stopping a service cancels any network connection the service is +using. Also, some services are dependent on others. Stopping one +service can stop others. Some services cannot be stopped. +. +Language=Russian +NET STOP stops services. + +service The name of the service to be stopped. + +Stopping a service cancels any network connection the service is +using. Also, some services are dependent on others. Stopping one +service can stop others. Some services cannot be stopped. +. +Language=Spanish +NET STOP stops services. + +service The name of the service to be stopped. + +Stopping a service cancels any network connection the service is +using. Also, some services are dependent on others. Stopping one +service can stop others. Some services cannot be stopped. +. +Language=Turkish +NET STOP stops services. + +service The name of the service to be stopped. + +Stopping a service cancels any network connection the service is +using. Also, some services are dependent on others. Stopping one +service can stop others. Some services cannot be stopped. +. +Language=Chinese +NET STOP stops services. + +service The name of the service to be stopped. + +Stopping a service cancels any network connection the service is +using. Also, some services are dependent on others. Stopping one +service can stop others. Some services cannot be stopped. +. +Language=Taiwanese +NET STOP stops services. + +service The name of the service to be stopped. + +Stopping a service cancels any network connection the service is +using. Also, some services are dependent on others. Stopping one +service can stop others. Some services cannot be stopped. +. +