https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e5904abf94d78420ff0d7…
commit e5904abf94d78420ff0d71e5207df3553f4b806d
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Mar 10 09:55:15 2019 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Mar 10 09:55:15 2019 +0100
[NET] Move the remaining IDS_GENERIC_PAGE strings into the command messages and fix a size restriction of ConPrintf().
---
base/applications/network/net/cmdAccounts.c | 1 -
base/applications/network/net/cmdConfig.c | 1 -
base/applications/network/net/cmdContinue.c | 1 -
base/applications/network/net/cmdGroup.c | 1 -
base/applications/network/net/cmdHelp.c | 2 -
base/applications/network/net/cmdLocalGroup.c | 1 -
base/applications/network/net/lang/en-US.rc | 1 -
base/applications/network/net/lang/es-ES.rc | 1 -
base/applications/network/net/lang/pl-PL.rc | 1 -
base/applications/network/net/lang/ro-RO.rc | 1 -
base/applications/network/net/lang/ru-RU.rc | 1 -
base/applications/network/net/lang/tr-TR.rc | 1 -
base/applications/network/net/lang/zh-CN.rc | 1 -
base/applications/network/net/lang/zh-TW.rc | 1 -
base/applications/network/net/main.c | 3 +-
base/applications/network/net/resource.h | 1 -
sdk/include/reactos/mc/net_msg.mc | 133 +++++++++++++++++++++++---
17 files changed, 124 insertions(+), 28 deletions(-)
diff --git a/base/applications/network/net/cmdAccounts.c b/base/applications/network/net/cmdAccounts.c
index 2ffc6eb2c5..d04bc48f4f 100644
--- a/base/applications/network/net/cmdAccounts.c
+++ b/base/applications/network/net/cmdAccounts.c
@@ -47,7 +47,6 @@ cmdAccounts(
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
PrintNetMessage(MSG_ACCOUNTS_SYNTAX);
PrintNetMessage(MSG_ACCOUNTS_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
diff --git a/base/applications/network/net/cmdConfig.c b/base/applications/network/net/cmdConfig.c
index ecc434ad5c..3f8569030c 100644
--- a/base/applications/network/net/cmdConfig.c
+++ b/base/applications/network/net/cmdConfig.c
@@ -201,7 +201,6 @@ cmdConfig(
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
PrintNetMessage(MSG_CONFIG_SERVER_SYNTAX);
PrintNetMessage(MSG_CONFIG_SERVER_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
}
else
{
diff --git a/base/applications/network/net/cmdContinue.c b/base/applications/network/net/cmdContinue.c
index 7d656ca1e5..8b4716a411 100644
--- a/base/applications/network/net/cmdContinue.c
+++ b/base/applications/network/net/cmdContinue.c
@@ -31,7 +31,6 @@ INT cmdContinue(INT argc, WCHAR **argv)
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
PrintNetMessage(MSG_CONTINUE_SYNTAX);
PrintNetMessage(MSG_CONTINUE_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 1;
}
}
diff --git a/base/applications/network/net/cmdGroup.c b/base/applications/network/net/cmdGroup.c
index f825ed0408..919e9ddeae 100644
--- a/base/applications/network/net/cmdGroup.c
+++ b/base/applications/network/net/cmdGroup.c
@@ -225,7 +225,6 @@ cmdGroup(
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
PrintNetMessage(MSG_GROUP_SYNTAX);
PrintNetMessage(MSG_GROUP_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
else if (_wcsicmp(argv[i], L"/add") == 0)
diff --git a/base/applications/network/net/cmdHelp.c b/base/applications/network/net/cmdHelp.c
index a160075bed..449a2a00ef 100644
--- a/base/applications/network/net/cmdHelp.c
+++ b/base/applications/network/net/cmdHelp.c
@@ -68,7 +68,6 @@ INT cmdHelp(INT argc, WCHAR **argv)
{
PrintNetMessage(MSG_GROUP_SYNTAX);
PrintNetMessage(MSG_GROUP_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
@@ -83,7 +82,6 @@ INT cmdHelp(INT argc, WCHAR **argv)
{
PrintNetMessage(MSG_LOCALGROUP_SYNTAX);
PrintNetMessage(MSG_LOCALGROUP_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
diff --git a/base/applications/network/net/cmdLocalGroup.c b/base/applications/network/net/cmdLocalGroup.c
index 8be27ef8ca..673c9a683d 100644
--- a/base/applications/network/net/cmdLocalGroup.c
+++ b/base/applications/network/net/cmdLocalGroup.c
@@ -245,7 +245,6 @@ cmdLocalGroup(
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
PrintNetMessage(MSG_LOCALGROUP_SYNTAX);
PrintNetMessage(MSG_LOCALGROUP_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
else if (_wcsicmp(argv[i], L"/add") == 0)
diff --git a/base/applications/network/net/lang/en-US.rc b/base/applications/network/net/lang/en-US.rc
index 506027b1b7..18b5ca746b 100644
--- a/base/applications/network/net/lang/en-US.rc
+++ b/base/applications/network/net/lang/en-US.rc
@@ -120,7 +120,6 @@ BEGIN
IDS_GENERIC_LOCKED "Locked"
IDS_GENERIC_UNLIMITED "Unlimited"
IDS_GENERIC_SYNTAX "The syntax of this command is:\n\n"
- IDS_GENERIC_PAGE "NET HELP command | MORE displays one screen at a time.\n\n"
IDS_ERROR_OPTION_NOT_SUPPORTED "The %s option is not supported yet.\n"
IDS_ERROR_INVALID_OPTION_VALUE "You entered an invalid value for the %s option.\n"
diff --git a/base/applications/network/net/lang/es-ES.rc b/base/applications/network/net/lang/es-ES.rc
index e39ea9767e..9e802f3d38 100644
--- a/base/applications/network/net/lang/es-ES.rc
+++ b/base/applications/network/net/lang/es-ES.rc
@@ -123,7 +123,6 @@ BEGIN
IDS_GENERIC_LOCKED "Bloqueado"
IDS_GENERIC_UNLIMITED "Unlimited"
IDS_GENERIC_SYNTAX "The syntax of this command is:\n\n"
- IDS_GENERIC_PAGE "NET HELP command | MORE displays one screen at a time.\n\n"
IDS_ERROR_OPTION_NOT_SUPPORTED "La opción %s todavía no está disponible.\n"
IDS_ERROR_INVALID_OPTION_VALUE "El valor para la opción %s no es válido.\n"
diff --git a/base/applications/network/net/lang/pl-PL.rc b/base/applications/network/net/lang/pl-PL.rc
index 4ea9dd4828..7fe511779c 100644
--- a/base/applications/network/net/lang/pl-PL.rc
+++ b/base/applications/network/net/lang/pl-PL.rc
@@ -119,7 +119,6 @@ BEGIN
IDS_GENERIC_LOCKED "Zablokowane"
IDS_GENERIC_UNLIMITED "Bez ograniczeń"
IDS_GENERIC_SYNTAX "Składnia tego polecenia jest następująca:\n\n"
- IDS_GENERIC_PAGE "NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.\n\n"
IDS_ERROR_OPTION_NOT_SUPPORTED "Opcja %s nie jest jeszcze obsługiwana.\n"
IDS_ERROR_INVALID_OPTION_VALUE "Wprowadzono nieprawidłową wartość dla opcji %s.\n"
diff --git a/base/applications/network/net/lang/ro-RO.rc b/base/applications/network/net/lang/ro-RO.rc
index b94139c74a..61328729ce 100644
--- a/base/applications/network/net/lang/ro-RO.rc
+++ b/base/applications/network/net/lang/ro-RO.rc
@@ -126,7 +126,6 @@ BEGIN
IDS_GENERIC_LOCKED "Blocat"
IDS_GENERIC_UNLIMITED "Nelimitat"
IDS_GENERIC_SYNTAX "Sintaxa acestei comenzi:\n\n"
- IDS_GENERIC_PAGE "NET HELP comandă | MORE (pentru afișare paginată).\n\n"
IDS_ERROR_OPTION_NOT_SUPPORTED "Opțiunea %s încă nu este admisă.\n"
IDS_ERROR_INVALID_OPTION_VALUE "Ați introdus o valoare nevalidă pentru opțiunea %s.\n"
diff --git a/base/applications/network/net/lang/ru-RU.rc b/base/applications/network/net/lang/ru-RU.rc
index 90a255ae7e..70b4dd777b 100644
--- a/base/applications/network/net/lang/ru-RU.rc
+++ b/base/applications/network/net/lang/ru-RU.rc
@@ -122,7 +122,6 @@ BEGIN
IDS_GENERIC_LOCKED "Заблокировано"
IDS_GENERIC_UNLIMITED "Не ограничено"
IDS_GENERIC_SYNTAX "Синтаксис данной команды:\n\n"
- IDS_GENERIC_PAGE "NET HELP имя_команды | MORE - постраничный просмотр справки.\n\n"
IDS_ERROR_OPTION_NOT_SUPPORTED "Опция %s в данный момент не поддерживается.\n"
IDS_ERROR_INVALID_OPTION_VALUE "Вы ввели неверный данные для данной опции %s.\n"
diff --git a/base/applications/network/net/lang/tr-TR.rc b/base/applications/network/net/lang/tr-TR.rc
index aef7a7227e..5c001e5429 100644
--- a/base/applications/network/net/lang/tr-TR.rc
+++ b/base/applications/network/net/lang/tr-TR.rc
@@ -122,7 +122,6 @@ BEGIN
IDS_GENERIC_LOCKED "Kilitli"
IDS_GENERIC_UNLIMITED "Unlimited"
IDS_GENERIC_SYNTAX "The syntax of this command is:\n\n"
- IDS_GENERIC_PAGE "NET HELP command | MORE displays one screen at a time.\n\n"
IDS_ERROR_OPTION_NOT_SUPPORTED "%s seçeneği daha desteklenmiyor.\n"
IDS_ERROR_INVALID_OPTION_VALUE "%s seçeneği için geçersiz bir değer girdiniz.\n"
diff --git a/base/applications/network/net/lang/zh-CN.rc b/base/applications/network/net/lang/zh-CN.rc
index 96c8aae7e1..35ae37150a 100644
--- a/base/applications/network/net/lang/zh-CN.rc
+++ b/base/applications/network/net/lang/zh-CN.rc
@@ -122,7 +122,6 @@ BEGIN
IDS_GENERIC_LOCKED "锁定"
IDS_GENERIC_UNLIMITED "Unlimited"
IDS_GENERIC_SYNTAX "The syntax of this command is:\n\n"
- IDS_GENERIC_PAGE "NET HELP command | MORE displays one screen at a time.\n\n"
IDS_ERROR_OPTION_NOT_SUPPORTED "尚不支持 %s 选项。\n"
IDS_ERROR_INVALID_OPTION_VALUE "您输入了 %s 选项的无效的值。\n"
diff --git a/base/applications/network/net/lang/zh-TW.rc b/base/applications/network/net/lang/zh-TW.rc
index ff067a2add..b50e07c4e4 100644
--- a/base/applications/network/net/lang/zh-TW.rc
+++ b/base/applications/network/net/lang/zh-TW.rc
@@ -122,7 +122,6 @@ BEGIN
IDS_GENERIC_LOCKED "鎖定"
IDS_GENERIC_UNLIMITED "Unlimited"
IDS_GENERIC_SYNTAX "The syntax of this command is:\n\n"
- IDS_GENERIC_PAGE "NET HELP command | MORE displays one screen at a time.\n\n"
IDS_ERROR_OPTION_NOT_SUPPORTED "尚不支援 %s 選項。\n"
IDS_ERROR_INVALID_OPTION_VALUE "您輸入了無效的值為 %s 選項。\n"
diff --git a/base/applications/network/net/main.c b/base/applications/network/net/main.c
index 63c825a11b..4707c148cd 100644
--- a/base/applications/network/net/main.c
+++ b/base/applications/network/net/main.c
@@ -163,7 +163,8 @@ PrintNetMessage(
NULL);
if (pBuffer)
{
- ConPrintf(StdOut, L"%s\n", pBuffer);
+ ConPuts(StdOut, pBuffer);
+ ConPuts(StdOut, L"\n");
LocalFree(pBuffer);
pBuffer = NULL;
}
diff --git a/base/applications/network/net/resource.h b/base/applications/network/net/resource.h
index ec2cab3cc2..1be6288333 100644
--- a/base/applications/network/net/resource.h
+++ b/base/applications/network/net/resource.h
@@ -116,7 +116,6 @@
#define IDS_GENERIC_LOCKED 605
#define IDS_GENERIC_UNLIMITED 606
#define IDS_GENERIC_SYNTAX 607
-#define IDS_GENERIC_PAGE 608
#define IDS_ERROR_OPTION_NOT_SUPPORTED 700
#define IDS_ERROR_INVALID_OPTION_VALUE 701
diff --git a/sdk/include/reactos/mc/net_msg.mc b/sdk/include/reactos/mc/net_msg.mc
index a687c06a3c..d0313b87e6 100644
--- a/sdk/include/reactos/mc/net_msg.mc
+++ b/sdk/include/reactos/mc/net_msg.mc
@@ -921,6 +921,8 @@ service Is the paused service
SCHEDULE
SERVER
WORKSTATION
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET CONTINUE wznawia działanie usługi, która została.
@@ -933,6 +935,8 @@ usługa Wstrzymana usługa
SCHEDULE
SERVER
WORKSTATION
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
@@ -944,6 +948,8 @@ service Is the paused service
SCHEDULE
SERVER
WORKSTATION
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
@@ -955,6 +961,8 @@ service Is the paused service
SCHEDULE
SERVER
WORKSTATION
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
@@ -966,6 +974,8 @@ service Is the paused service
SCHEDULE
SERVER
WORKSTATION
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
@@ -977,6 +987,7 @@ service Is the paused service
SCHEDULE
SERVER
WORKSTATION
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
@@ -988,6 +999,8 @@ service Is the paused service
SCHEDULE
SERVER
WORKSTATION
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
@@ -999,6 +1012,8 @@ service Is the paused service
SCHEDULE
SERVER
WORKSTATION
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -1136,6 +1151,8 @@ username[ ...] List one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET GROUP dodaje, wyświetla lub modyfikuje grupy globalne na serwerach.
@@ -1154,6 +1171,8 @@ nazwa_użytkownika[ ...] Lista zawierająca nazwy jednego lub kilku
Rozdziel kolejne nazwy znakiem spacji.
/ADD Dodaje grupę lub dodaje nazwę użytkownika do grupy.
/DELETE Usuwa grupę lub usuwa nazwę użytkownika z grupy.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET GROUP adds, displays or modifies global groups on servers. When
@@ -1171,6 +1190,8 @@ username[ ...] List one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET GROUP adds, displays or modifies global groups on servers. When
@@ -1188,6 +1209,8 @@ username[ ...] List one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET GROUP adds, displays or modifies global groups on servers. When
@@ -1205,6 +1228,8 @@ username[ ...] List one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET GROUP adds, displays or modifies global groups on servers. When
@@ -1222,6 +1247,8 @@ username[ ...] List one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET GROUP adds, displays or modifies global groups on servers. When
@@ -1239,6 +1266,8 @@ username[ ...] List one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET GROUP adds, displays or modifies global groups on servers. When
@@ -1256,6 +1285,8 @@ username[ ...] List one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -1337,7 +1368,7 @@ Language=Polish
NET GROUP NET SESSION NET VIEW
NET HELP SYNTAX explains how to read NET HELP syntax lines.
- NET HELP command | MORE displays Help one screen at a time.
+ NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
Sunt disponibile următoarele comenzi:
@@ -1352,7 +1383,7 @@ Language=Romanian
NET GROUP NET SESSION NET VIEW
NET HELP SYNTAX explains how to read NET HELP syntax lines.
- NET HELP command | MORE displays Help one screen at a time.
+ NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
Доступны следующие команды:
@@ -1367,7 +1398,7 @@ Language=Russian
NET GROUP NET SESSION NET VIEW
NET HELP SYNTAX explains how to read NET HELP syntax lines.
- NET HELP command | MORE displays Help one screen at a time.
+ NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
Éstos son los argumentos de línea de comandos disponibles:
@@ -1603,6 +1634,8 @@ name[ ...] List one or more usernames or groupnams to add to or
must be established for users or global groups added to a
local group with this command.
/DELETE Removes a groupname or username from a local group.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET LOCALGROUP dodaje, wyświetla, lub modyfikuje grupy lokalne na komputerach
@@ -1628,6 +1661,8 @@ nazwa[ ...] Lista zawierająca nazwy jednego lub kilku użytkowników
poleceniem do grupy lokalnej należy wcześniej utworzyć
odpowiednie konto.
/DELETE Usuwa nazwę grupy lub użytkownika z grupy lokalnej.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET LOCALGROUP adds, displays or modifies local groups on computers. When
@@ -1651,6 +1686,8 @@ name[ ...] List one or more usernames or groupnams to add to or
must be established for users or global groups added to a
local group with this command.
/DELETE Removes a groupname or username from a local group.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET LOCALGROUP adds, displays or modifies local groups on computers. When
@@ -1674,6 +1711,8 @@ name[ ...] List one or more usernames or groupnams to add to or
must be established for users or global groups added to a
local group with this command.
/DELETE Removes a groupname or username from a local group.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET LOCALGROUP adds, displays or modifies local groups on computers. When
@@ -1697,6 +1736,8 @@ name [ ...] List one or more usernames or groupnams to add to or
must be established for users or global groups added to a
local group with this command.
/DELETE Removes a groupname or username from a local group.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET LOCALGROUP adds, displays or modifies local groups on computers. When
@@ -1720,6 +1761,8 @@ name[ ...] List one or more usernames or groupnams to add to or
must be established for users or global groups added to a
local group with this command.
/DELETE Removes a groupname or username from a local group.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET LOCALGROUP adds, displays or modifies local groups on computers. When
@@ -1743,6 +1786,8 @@ name[ ...] List one or more usernames or groupnams to add to or
must be established for users or global groups added to a
local group with this command.
/DELETE Removes a groupname or username from a local group.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET LOCALGROUP adds, displays or modifies local groups on computers. When
@@ -1766,6 +1811,8 @@ name[ ...] List one or more usernames or groupnams to add to or
must be established for users or global groups added to a
local group with this command.
/DELETE Removes a groupname or username from a local group.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -1875,40 +1922,56 @@ Language=English
NET PAUSE suspends a service. Pausing a service puts it on hold.
service The name of the service to be paused.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET PAUSE wstrzymuje usługę.
usługa Nazwa wstrzymywanej usługi.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET PAUSE suspends a service. Pausing a service puts it on hold.
service The name of the service to be paused.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET PAUSE suspends a service. Pausing a service puts it on hold.
service The name of the service to be paused.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET PAUSE suspends a service. Pausing a service puts it on hold.
service The name of the service to be paused.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET PAUSE suspends a service. Pausing a service puts it on hold.
service The name of the service to be paused.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET PAUSE suspends a service. Pausing a service puts it on hold.
service The name of the service to be paused.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET PAUSE suspends a service. Pausing a service puts it on hold.
service The name of the service to be paused.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -2226,6 +2289,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET START uruchamia usługi lub wyświetla uruchomione usługi.
@@ -2235,6 +2300,8 @@ 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.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET START starts services or lists running services.
@@ -2244,6 +2311,8 @@ 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.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET START starts services or lists running services.
@@ -2253,6 +2322,8 @@ 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.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET START starts services or lists running services.
@@ -2262,6 +2333,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET START starts services or lists running services.
@@ -2271,6 +2344,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET START starts services or lists running services.
@@ -2280,6 +2355,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET START starts services or lists running services.
@@ -2289,6 +2366,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -2333,6 +2412,8 @@ the services for which statistics are available.
SERVER Displays the Server service statistics.
WORKSTATION Displays the Workstation service statistics.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET STATISTICS wyświetla dziennik statystyki dla lokalnej usługi
@@ -2341,6 +2422,8 @@ usługi dla których statystyka jest dostępna.
SERVER Wyświetla statystykę usługi Serwer.
WORKSTATION Wyświetla statystykę usługi Stacja robocza.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET STATISTICS displays the statisticslog for the local Workstation or
@@ -2349,6 +2432,8 @@ the services for which statistics are available.
SERVER Displays the Server service statistics.
WORKSTATION Displays the Workstation service statistics.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET STATISTICS displays the statisticslog for the local Workstation or
@@ -2357,6 +2442,8 @@ the services for which statistics are available.
SERVER Displays the Server service statistics.
WORKSTATION Displays the Workstation service statistics.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET STATISTICS displays the statisticslog for the local Workstation or
@@ -2365,6 +2452,8 @@ the services for which statistics are available.
SERVER Displays the Server service statistics.
WORKSTATION Displays the Workstation service statistics.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET STATISTICS displays the statisticslog for the local Workstation or
@@ -2373,6 +2462,8 @@ the services for which statistics are available.
SERVER Displays the Server service statistics.
WORKSTATION Displays the Workstation service statistics.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET STATISTICS displays the statisticslog for the local Workstation or
@@ -2381,6 +2472,8 @@ the services for which statistics are available.
SERVER Displays the Server service statistics.
WORKSTATION Displays the Workstation service statistics.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET STATISTICS displays the statisticslog for the local Workstation or
@@ -2389,6 +2482,8 @@ the services for which statistics are available.
SERVER Displays the Server service statistics.
WORKSTATION Displays the Workstation service statistics.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -2434,6 +2529,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET STOP zatrzymuje usługi.
@@ -2443,6 +2540,8 @@ 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.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET STOP stops services.
@@ -2452,6 +2551,8 @@ 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.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET STOP stops services.
@@ -2461,6 +2562,8 @@ 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.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET STOP stops services.
@@ -2470,6 +2573,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET STOP stops services.
@@ -2479,6 +2584,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET STOP stops services.
@@ -2488,6 +2595,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET STOP stops services.
@@ -2497,6 +2606,8 @@ 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.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -2758,7 +2869,7 @@ Options Are as follows:
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
- NET HELP command | MORE displays Help one screen at a time.
+NET HELP command | MORE displays Help one screen at a time.
.
Language=Polish
NET USER creates and modifies user accounts on computers. When used
@@ -2832,7 +2943,7 @@ Options Are as follows:
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
- NET HELP command | MORE displays Help one screen at a time.
+NET HELP command | MORE displays Help one screen at a time.
.
Language=Romanian
NET USER creates and modifies user accounts on computers. When used
@@ -2906,7 +3017,7 @@ Options Are as follows:
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
- NET HELP command | MORE displays Help one screen at a time.
+NET HELP command | MORE displays Help one screen at a time.
.
Language=Russian
NET USER creates and modifies user accounts on computers. When used
@@ -2980,7 +3091,7 @@ Options Are as follows:
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
- NET HELP command | MORE displays Help one screen at a time.
+NET HELP command | MORE displays Help one screen at a time.
.
Language=Spanish
NET USER creates and modifies user accounts on computers. When used
@@ -3054,7 +3165,7 @@ Options Are as follows:
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
- NET HELP command | MORE displays Help one screen at a time.
+NET HELP command | MORE displays Help one screen at a time.
.
Language=Turkish
NET USER creates and modifies user accounts on computers. When used
@@ -3128,7 +3239,7 @@ Options Are as follows:
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
- NET HELP command | MORE displays Help one screen at a time.
+NET HELP command | MORE displays Help one screen at a time.
.
Language=Chinese
NET USER creates and modifies user accounts on computers. When used
@@ -3202,7 +3313,7 @@ Options Are as follows:
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
- NET HELP command | MORE displays Help one screen at a time.
+NET HELP command | MORE displays Help one screen at a time.
.
Language=Taiwanese
NET USER creates and modifies user accounts on computers. When used
@@ -3276,7 +3387,7 @@ Options Are as follows:
/WORKSTATIONS has no list or if the list is *,
the user can log on from any computer.
- NET HELP command | MORE displays Help one screen at a time.
+NET HELP command | MORE displays Help one screen at a time.
.
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e2b8141eb6c4c1656dd8a…
commit e2b8141eb6c4c1656dd8abc4bc95ea22245a5648
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Mar 10 08:59:32 2019 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Mar 10 08:59:32 2019 +0100
[NET] Add help message for the NET USER command and move the IDS_GENERIC_PAGE string into the help messages.
---
base/applications/network/net/cmdHelp.c | 3 -
sdk/include/reactos/mc/net_msg.mc | 640 +++++++++++++++++++++++++++++++-
2 files changed, 624 insertions(+), 19 deletions(-)
diff --git a/base/applications/network/net/cmdHelp.c b/base/applications/network/net/cmdHelp.c
index 97e22e34b2..a160075bed 100644
--- a/base/applications/network/net/cmdHelp.c
+++ b/base/applications/network/net/cmdHelp.c
@@ -24,7 +24,6 @@ INT cmdHelp(INT argc, WCHAR **argv)
{
PrintNetMessage(MSG_ACCOUNTS_SYNTAX);
PrintNetMessage(MSG_ACCOUNTS_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
@@ -41,14 +40,12 @@ INT cmdHelp(INT argc, WCHAR **argv)
{
PrintNetMessage(MSG_CONFIG_SERVER_SYNTAX);
PrintNetMessage(MSG_CONFIG_SERVER_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
else
{
PrintNetMessage(MSG_CONFIG_SYNTAX);
PrintNetMessage(MSG_CONFIG_HELP);
- ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
}
diff --git a/sdk/include/reactos/mc/net_msg.mc b/sdk/include/reactos/mc/net_msg.mc
index dd0f13d188..a687c06a3c 100644
--- a/sdk/include/reactos/mc/net_msg.mc
+++ b/sdk/include/reactos/mc/net_msg.mc
@@ -117,6 +117,8 @@ NET ACCOUNTS to take effect.
controller of the current domain. Otherwise,
the operation is performed on the local
computer.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET ACCOUNTS uaktualnia bazę kont użytkowników i zmienia hasło oraz wymagania
@@ -161,6 +163,8 @@ spełnione dwa warunki.
w bieżącej domenie. W innym wypadku,
operacje te są dokonywane na komputerze
lokalnym.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET ACCOUNTS actualizează baza de utilizatori și modifică parola și
@@ -202,6 +206,8 @@ NET ACCOUNTS să aibă efect.
controller of the current domain. Otherwise,
the operation is performed on the local
computer.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET ACCOUNTS updates the user accounts database and modifies password
@@ -243,6 +249,8 @@ NET ACCOUNTS to take effect.
controller of the current domain. Otherwise,
the operation is performed on the local
computer.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET ACCOUNTS updates the user accounts database and modifies password
@@ -284,6 +292,8 @@ NET ACCOUNTS to take effect.
controller of the current domain. Otherwise,
the operation is performed on the local
computer.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET ACCOUNTS updates the user accounts database and modifies password
@@ -325,6 +335,8 @@ NET ACCOUNTS to take effect.
controller of the current domain. Otherwise,
the operation is performed on the local
computer.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET ACCOUNTS updates the user accounts database and modifies password
@@ -366,6 +378,8 @@ NET ACCOUNTS to take effect.
controller of the current domain. Otherwise,
the operation is performed on the local
computer.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET ACCOUNTS updates the user accounts database and modifies password
@@ -407,6 +421,8 @@ NET ACCOUNTS to take effect.
controller of the current domain. Otherwise,
the operation is performed on the local
computer.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -562,6 +578,8 @@ SERVER Displays information about the configuration of the
Server service.
WORKSTATION Displays information about the configuration of the
Workstation service.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET CONFIG wyświetla informacje o konfiguracji usług Stacja robocza lub
@@ -571,6 +589,8 @@ konfigurowania usługi, wpisz polecenie NET HELP CONFIG usługa.
SERVER Wyświetla informacje o konfiguracji usługi Serwer
WORKSTATION Wyświetla informacje o konfiguracji usługi Stacja robocza.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET CONFIG displays coniguration information of the Workstation or
@@ -582,6 +602,8 @@ SERVER Displays information about the configuration of the
Server service.
WORKSTATION Displays information about the configuration of the
Workstation service.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET CONFIG displays coniguration information of the Workstation or
@@ -593,6 +615,8 @@ SERVER Displays information about the configuration of the
Server service.
WORKSTATION Displays information about the configuration of the
Workstation service.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET CONFIG displays coniguration information of the Workstation or
@@ -604,6 +628,8 @@ SERVER Displays information about the configuration of the
Server service.
WORKSTATION Displays information about the configuration of the
Workstation service.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET CONFIG displays coniguration information of the Workstation or
@@ -615,6 +641,8 @@ SERVER Displays information about the configuration of the
Server service.
WORKSTATION Displays information about the configuration of the
Workstation service.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET CONFIG displays coniguration information of the Workstation or
@@ -626,6 +654,8 @@ SERVER Displays information about the configuration of the
Server service.
WORKSTATION Displays information about the configuration of the
Workstation service.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET CONFIG displays coniguration information of the Workstation or
@@ -637,6 +667,8 @@ SERVER Displays information about the configuration of the
Server service.
WORKSTATION Displays information about the configuration of the
Workstation service.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -699,6 +731,8 @@ NET CONFIG SERVER displays or changes settings for the Server service.
To display the current configuration for the Server service,
type NET CONFIG SERVER without parameters.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Polish
NET CONFIG SERVER wyświetla lub zmienia ustawienia usługi Serwer.
@@ -718,6 +752,8 @@ NET CONFIG SERVER wyświetla lub zmienia ustawienia usługi Serwer.
Aby wyświetlić bieżącą konfigurację usługi Serwer,
wpisz NET CONFIG SERVER bez parametrów.
+
+NET HELP polecenie | MORE wyświetla informacje na jednym ekranie na raz.
.
Language=Romanian
NET CONFIG SERVER displays or changes settings for the Server service.
@@ -736,6 +772,8 @@ NET CONFIG SERVER displays or changes settings for the Server service.
To display the current configuration for the Server service,
type NET CONFIG SERVER without parameters.
+
+NET HELP comandă | MORE (pentru afișare paginată).
.
Language=Russian
NET CONFIG SERVER displays or changes settings for the Server service.
@@ -754,6 +792,8 @@ NET CONFIG SERVER displays or changes settings for the Server service.
To display the current configuration for the Server service,
type NET CONFIG SERVER without parameters.
+
+NET HELP имя_команды | MORE - постраничный просмотр справки.
.
Language=Spanish
NET CONFIG SERVER displays or changes settings for the Server service.
@@ -772,6 +812,8 @@ NET CONFIG SERVER displays or changes settings for the Server service.
To display the current configuration for the Server service,
type NET CONFIG SERVER without parameters.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Turkish
NET CONFIG SERVER displays or changes settings for the Server service.
@@ -790,6 +832,8 @@ NET CONFIG SERVER displays or changes settings for the Server service.
To display the current configuration for the Server service,
type NET CONFIG SERVER without parameters.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Chinese
NET CONFIG SERVER displays or changes settings for the Server service.
@@ -808,6 +852,8 @@ NET CONFIG SERVER displays or changes settings for the Server service.
To display the current configuration for the Server service,
type NET CONFIG SERVER without parameters.
+
+NET HELP command | MORE displays one screen at a time.
.
Language=Taiwanese
NET CONFIG SERVER displays or changes settings for the Server service.
@@ -826,6 +872,8 @@ NET CONFIG SERVER displays or changes settings for the Server service.
To display the current configuration for the Server service,
type NET CONFIG SERVER without parameters.
+
+NET HELP command | MORE displays one screen at a time.
.
@@ -2639,36 +2687,596 @@ SymbolicName=MSG_USER_HELP
Severity=Success
Facility=System
Language=English
-USER
-...
+NET USER creates and modifies user accounts on computers. When used
+without switches, it lists the user accounts for the computer. The
+user account information is stored in the user accounts database.
+
+username Is the name of the user account to add, delete, modify, or
+ view. The name of the user account can have as many as
+ 20 characters.
+password Assigns or changes a password for the user's account.
+ A password must satisfy the minimum length set with the
+ /MINPWLEN option of the NET ACCOUNTS command. It can have as
+ many as 14 characters.
+* Produces a prompt for the password. The password is not
+ displayed when you type it at a password prompt.
+/DOMAIN Performs the operation on a domain controller of
+ the current domain.
+/ADD Adds a user account to the user accounts database.
+/DELETE Removes a user account from the user accounts database.
+
+Options Are as follows:
+
+ Options Description
+ --------------------------------------------------------------------
+ /ACTIVE:{YES | NO} Activates or deactivates the account. If
+ the account is not active, the user cannot
+ access the server. The default is YES.
+ /COMMENT:"text" Provides a descriptive comment about the
+ user's account. Enclose the text in
+ quotation marks.
+ /COUNTRYCODE:nnn Uses the operating system country code to
+ implement the specified language files for a
+ user's help and error messages. A value of
+ 0 signifies the default country code.
+ /EXPIRES:{date | NEVER} Causes the account to expire if date is
+ set. NEVER sets no time limit on the
+ account. An expiration date is in the
+ form mm/dd/yy(yy). Months can be a number,
+ spelled out, or abbreviated with three
+ letters. Year can be two or four numbers.
+ Use slashes(/) (no spaces) to separate
+ parts of the date.
+ /FULLNAME:"name" Is a user's full name (rather than a
+ username). Enclose the name in quotation
+ marks.
+ /HOMEDIR:pathname Sets the path for the user's home directory.
+ The path must exist.
+ /PASSWORDCHG:{YES | NO} Specifies whether users can change their
+ own password. The default is YES.
+ /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
+ a password. The default is YES.
+ /PROFILEPATH[:path] Sets a path for the user's logon profile.
+ /SCRIPTPATH:pathname Is the location of the user's logon
+ script.
+ /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
+ day[-day][,day[-day]],time[-time][,time
+ [-time]], limited to 1-hour increments.
+ Days can be spelled out or abbreviated.
+ Hours can be 12- or 24-hour notation. For
+ 12-hour notation, use am, pm, a.m., or
+ p.m. ALL means a user can always log on,
+ and a blank value means a user can never
+ log on. Separate day and time entries with
+ a comma, and separate multiple day and time
+ entries with a semicolon.
+ /USERCOMMENT:"text" Lets an administrator add or change the User
+ Comment for the account.
+ /WORKSTATIONS:{computername[,...] | *}
+ Lists as many as eight computers from
+ which a user can log on to the network. If
+ /WORKSTATIONS has no list or if the list is *,
+ the user can log on from any computer.
+
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Polish
-USER
-...
+NET USER creates and modifies user accounts on computers. When used
+without switches, it lists the user accounts for the computer. The
+user account information is stored in the user accounts database.
+
+username Is the name of the user account to add, delete, modify, or
+ view. The name of the user account can have as many as
+ 20 characters.
+password Assigns or changes a password for the user's account.
+ A password must satisfy the minimum length set with the
+ /MINPWLEN option of the NET ACCOUNTS command. It can have as
+ many as 14 characters.
+* Produces a prompt for the password. The password is not
+ displayed when you type it at a password prompt.
+/DOMAIN Performs the operation on a domain controller of
+ the current domain.
+/ADD Adds a user account to the user accounts database.
+/DELETE Removes a user account from the user accounts database.
+
+Options Are as follows:
+
+ Options Description
+ --------------------------------------------------------------------
+ /ACTIVE:{YES | NO} Activates or deactivates the account. If
+ the account is not active, the user cannot
+ access the server. The default is YES.
+ /COMMENT:"text" Provides a descriptive comment about the
+ user's account. Enclose the text in
+ quotation marks.
+ /COUNTRYCODE:nnn Uses the operating system country code to
+ implement the specified language files for a
+ user's help and error messages. A value of
+ 0 signifies the default country code.
+ /EXPIRES:{date | NEVER} Causes the account to expire if date is
+ set. NEVER sets no time limit on the
+ account. An expiration date is in the
+ form mm/dd/yy(yy). Months can be a number,
+ spelled out, or abbreviated with three
+ letters. Year can be two or four numbers.
+ Use slashes(/) (no spaces) to separate
+ parts of the date.
+ /FULLNAME:"name" Is a user's full name (rather than a
+ username). Enclose the name in quotation
+ marks.
+ /HOMEDIR:pathname Sets the path for the user's home directory.
+ The path must exist.
+ /PASSWORDCHG:{YES | NO} Specifies whether users can change their
+ own password. The default is YES.
+ /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
+ a password. The default is YES.
+ /PROFILEPATH[:path] Sets a path for the user's logon profile.
+ /SCRIPTPATH:pathname Is the location of the user's logon
+ script.
+ /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
+ day[-day][,day[-day]],time[-time][,time
+ [-time]], limited to 1-hour increments.
+ Days can be spelled out or abbreviated.
+ Hours can be 12- or 24-hour notation. For
+ 12-hour notation, use am, pm, a.m., or
+ p.m. ALL means a user can always log on,
+ and a blank value means a user can never
+ log on. Separate day and time entries with
+ a comma, and separate multiple day and time
+ entries with a semicolon.
+ /USERCOMMENT:"text" Lets an administrator add or change the User
+ Comment for the account.
+ /WORKSTATIONS:{computername[,...] | *}
+ Lists as many as eight computers from
+ which a user can log on to the network. If
+ /WORKSTATIONS has no list or if the list is *,
+ the user can log on from any computer.
+
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Romanian
-USER
-...
+NET USER creates and modifies user accounts on computers. When used
+without switches, it lists the user accounts for the computer. The
+user account information is stored in the user accounts database.
+
+username Is the name of the user account to add, delete, modify, or
+ view. The name of the user account can have as many as
+ 20 characters.
+password Assigns or changes a password for the user's account.
+ A password must satisfy the minimum length set with the
+ /MINPWLEN option of the NET ACCOUNTS command. It can have as
+ many as 14 characters.
+* Produces a prompt for the password. The password is not
+ displayed when you type it at a password prompt.
+/DOMAIN Performs the operation on a domain controller of
+ the current domain.
+/ADD Adds a user account to the user accounts database.
+/DELETE Removes a user account from the user accounts database.
+
+Options Are as follows:
+
+ Options Description
+ --------------------------------------------------------------------
+ /ACTIVE:{YES | NO} Activates or deactivates the account. If
+ the account is not active, the user cannot
+ access the server. The default is YES.
+ /COMMENT:"text" Provides a descriptive comment about the
+ user's account. Enclose the text in
+ quotation marks.
+ /COUNTRYCODE:nnn Uses the operating system country code to
+ implement the specified language files for a
+ user's help and error messages. A value of
+ 0 signifies the default country code.
+ /EXPIRES:{date | NEVER} Causes the account to expire if date is
+ set. NEVER sets no time limit on the
+ account. An expiration date is in the
+ form mm/dd/yy(yy). Months can be a number,
+ spelled out, or abbreviated with three
+ letters. Year can be two or four numbers.
+ Use slashes(/) (no spaces) to separate
+ parts of the date.
+ /FULLNAME:"name" Is a user's full name (rather than a
+ username). Enclose the name in quotation
+ marks.
+ /HOMEDIR:pathname Sets the path for the user's home directory.
+ The path must exist.
+ /PASSWORDCHG:{YES | NO} Specifies whether users can change their
+ own password. The default is YES.
+ /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
+ a password. The default is YES.
+ /PROFILEPATH[:path] Sets a path for the user's logon profile.
+ /SCRIPTPATH:pathname Is the location of the user's logon
+ script.
+ /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
+ day[-day][,day[-day]],time[-time][,time
+ [-time]], limited to 1-hour increments.
+ Days can be spelled out or abbreviated.
+ Hours can be 12- or 24-hour notation. For
+ 12-hour notation, use am, pm, a.m., or
+ p.m. ALL means a user can always log on,
+ and a blank value means a user can never
+ log on. Separate day and time entries with
+ a comma, and separate multiple day and time
+ entries with a semicolon.
+ /USERCOMMENT:"text" Lets an administrator add or change the User
+ Comment for the account.
+ /WORKSTATIONS:{computername[,...] | *}
+ Lists as many as eight computers from
+ which a user can log on to the network. If
+ /WORKSTATIONS has no list or if the list is *,
+ the user can log on from any computer.
+
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Russian
-USER
-...
+NET USER creates and modifies user accounts on computers. When used
+without switches, it lists the user accounts for the computer. The
+user account information is stored in the user accounts database.
+
+username Is the name of the user account to add, delete, modify, or
+ view. The name of the user account can have as many as
+ 20 characters.
+password Assigns or changes a password for the user's account.
+ A password must satisfy the minimum length set with the
+ /MINPWLEN option of the NET ACCOUNTS command. It can have as
+ many as 14 characters.
+* Produces a prompt for the password. The password is not
+ displayed when you type it at a password prompt.
+/DOMAIN Performs the operation on a domain controller of
+ the current domain.
+/ADD Adds a user account to the user accounts database.
+/DELETE Removes a user account from the user accounts database.
+
+Options Are as follows:
+
+ Options Description
+ --------------------------------------------------------------------
+ /ACTIVE:{YES | NO} Activates or deactivates the account. If
+ the account is not active, the user cannot
+ access the server. The default is YES.
+ /COMMENT:"text" Provides a descriptive comment about the
+ user's account. Enclose the text in
+ quotation marks.
+ /COUNTRYCODE:nnn Uses the operating system country code to
+ implement the specified language files for a
+ user's help and error messages. A value of
+ 0 signifies the default country code.
+ /EXPIRES:{date | NEVER} Causes the account to expire if date is
+ set. NEVER sets no time limit on the
+ account. An expiration date is in the
+ form mm/dd/yy(yy). Months can be a number,
+ spelled out, or abbreviated with three
+ letters. Year can be two or four numbers.
+ Use slashes(/) (no spaces) to separate
+ parts of the date.
+ /FULLNAME:"name" Is a user's full name (rather than a
+ username). Enclose the name in quotation
+ marks.
+ /HOMEDIR:pathname Sets the path for the user's home directory.
+ The path must exist.
+ /PASSWORDCHG:{YES | NO} Specifies whether users can change their
+ own password. The default is YES.
+ /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
+ a password. The default is YES.
+ /PROFILEPATH[:path] Sets a path for the user's logon profile.
+ /SCRIPTPATH:pathname Is the location of the user's logon
+ script.
+ /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
+ day[-day][,day[-day]],time[-time][,time
+ [-time]], limited to 1-hour increments.
+ Days can be spelled out or abbreviated.
+ Hours can be 12- or 24-hour notation. For
+ 12-hour notation, use am, pm, a.m., or
+ p.m. ALL means a user can always log on,
+ and a blank value means a user can never
+ log on. Separate day and time entries with
+ a comma, and separate multiple day and time
+ entries with a semicolon.
+ /USERCOMMENT:"text" Lets an administrator add or change the User
+ Comment for the account.
+ /WORKSTATIONS:{computername[,...] | *}
+ Lists as many as eight computers from
+ which a user can log on to the network. If
+ /WORKSTATIONS has no list or if the list is *,
+ the user can log on from any computer.
+
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Spanish
-USER
-...
+NET USER creates and modifies user accounts on computers. When used
+without switches, it lists the user accounts for the computer. The
+user account information is stored in the user accounts database.
+
+username Is the name of the user account to add, delete, modify, or
+ view. The name of the user account can have as many as
+ 20 characters.
+password Assigns or changes a password for the user's account.
+ A password must satisfy the minimum length set with the
+ /MINPWLEN option of the NET ACCOUNTS command. It can have as
+ many as 14 characters.
+* Produces a prompt for the password. The password is not
+ displayed when you type it at a password prompt.
+/DOMAIN Performs the operation on a domain controller of
+ the current domain.
+/ADD Adds a user account to the user accounts database.
+/DELETE Removes a user account from the user accounts database.
+
+Options Are as follows:
+
+ Options Description
+ --------------------------------------------------------------------
+ /ACTIVE:{YES | NO} Activates or deactivates the account. If
+ the account is not active, the user cannot
+ access the server. The default is YES.
+ /COMMENT:"text" Provides a descriptive comment about the
+ user's account. Enclose the text in
+ quotation marks.
+ /COUNTRYCODE:nnn Uses the operating system country code to
+ implement the specified language files for a
+ user's help and error messages. A value of
+ 0 signifies the default country code.
+ /EXPIRES:{date | NEVER} Causes the account to expire if date is
+ set. NEVER sets no time limit on the
+ account. An expiration date is in the
+ form mm/dd/yy(yy). Months can be a number,
+ spelled out, or abbreviated with three
+ letters. Year can be two or four numbers.
+ Use slashes(/) (no spaces) to separate
+ parts of the date.
+ /FULLNAME:"name" Is a user's full name (rather than a
+ username). Enclose the name in quotation
+ marks.
+ /HOMEDIR:pathname Sets the path for the user's home directory.
+ The path must exist.
+ /PASSWORDCHG:{YES | NO} Specifies whether users can change their
+ own password. The default is YES.
+ /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
+ a password. The default is YES.
+ /PROFILEPATH[:path] Sets a path for the user's logon profile.
+ /SCRIPTPATH:pathname Is the location of the user's logon
+ script.
+ /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
+ day[-day][,day[-day]],time[-time][,time
+ [-time]], limited to 1-hour increments.
+ Days can be spelled out or abbreviated.
+ Hours can be 12- or 24-hour notation. For
+ 12-hour notation, use am, pm, a.m., or
+ p.m. ALL means a user can always log on,
+ and a blank value means a user can never
+ log on. Separate day and time entries with
+ a comma, and separate multiple day and time
+ entries with a semicolon.
+ /USERCOMMENT:"text" Lets an administrator add or change the User
+ Comment for the account.
+ /WORKSTATIONS:{computername[,...] | *}
+ Lists as many as eight computers from
+ which a user can log on to the network. If
+ /WORKSTATIONS has no list or if the list is *,
+ the user can log on from any computer.
+
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Turkish
-USER
-...
+NET USER creates and modifies user accounts on computers. When used
+without switches, it lists the user accounts for the computer. The
+user account information is stored in the user accounts database.
+
+username Is the name of the user account to add, delete, modify, or
+ view. The name of the user account can have as many as
+ 20 characters.
+password Assigns or changes a password for the user's account.
+ A password must satisfy the minimum length set with the
+ /MINPWLEN option of the NET ACCOUNTS command. It can have as
+ many as 14 characters.
+* Produces a prompt for the password. The password is not
+ displayed when you type it at a password prompt.
+/DOMAIN Performs the operation on a domain controller of
+ the current domain.
+/ADD Adds a user account to the user accounts database.
+/DELETE Removes a user account from the user accounts database.
+
+Options Are as follows:
+
+ Options Description
+ --------------------------------------------------------------------
+ /ACTIVE:{YES | NO} Activates or deactivates the account. If
+ the account is not active, the user cannot
+ access the server. The default is YES.
+ /COMMENT:"text" Provides a descriptive comment about the
+ user's account. Enclose the text in
+ quotation marks.
+ /COUNTRYCODE:nnn Uses the operating system country code to
+ implement the specified language files for a
+ user's help and error messages. A value of
+ 0 signifies the default country code.
+ /EXPIRES:{date | NEVER} Causes the account to expire if date is
+ set. NEVER sets no time limit on the
+ account. An expiration date is in the
+ form mm/dd/yy(yy). Months can be a number,
+ spelled out, or abbreviated with three
+ letters. Year can be two or four numbers.
+ Use slashes(/) (no spaces) to separate
+ parts of the date.
+ /FULLNAME:"name" Is a user's full name (rather than a
+ username). Enclose the name in quotation
+ marks.
+ /HOMEDIR:pathname Sets the path for the user's home directory.
+ The path must exist.
+ /PASSWORDCHG:{YES | NO} Specifies whether users can change their
+ own password. The default is YES.
+ /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
+ a password. The default is YES.
+ /PROFILEPATH[:path] Sets a path for the user's logon profile.
+ /SCRIPTPATH:pathname Is the location of the user's logon
+ script.
+ /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
+ day[-day][,day[-day]],time[-time][,time
+ [-time]], limited to 1-hour increments.
+ Days can be spelled out or abbreviated.
+ Hours can be 12- or 24-hour notation. For
+ 12-hour notation, use am, pm, a.m., or
+ p.m. ALL means a user can always log on,
+ and a blank value means a user can never
+ log on. Separate day and time entries with
+ a comma, and separate multiple day and time
+ entries with a semicolon.
+ /USERCOMMENT:"text" Lets an administrator add or change the User
+ Comment for the account.
+ /WORKSTATIONS:{computername[,...] | *}
+ Lists as many as eight computers from
+ which a user can log on to the network. If
+ /WORKSTATIONS has no list or if the list is *,
+ the user can log on from any computer.
+
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Chinese
-USER
-...
+NET USER creates and modifies user accounts on computers. When used
+without switches, it lists the user accounts for the computer. The
+user account information is stored in the user accounts database.
+
+username Is the name of the user account to add, delete, modify, or
+ view. The name of the user account can have as many as
+ 20 characters.
+password Assigns or changes a password for the user's account.
+ A password must satisfy the minimum length set with the
+ /MINPWLEN option of the NET ACCOUNTS command. It can have as
+ many as 14 characters.
+* Produces a prompt for the password. The password is not
+ displayed when you type it at a password prompt.
+/DOMAIN Performs the operation on a domain controller of
+ the current domain.
+/ADD Adds a user account to the user accounts database.
+/DELETE Removes a user account from the user accounts database.
+
+Options Are as follows:
+
+ Options Description
+ --------------------------------------------------------------------
+ /ACTIVE:{YES | NO} Activates or deactivates the account. If
+ the account is not active, the user cannot
+ access the server. The default is YES.
+ /COMMENT:"text" Provides a descriptive comment about the
+ user's account. Enclose the text in
+ quotation marks.
+ /COUNTRYCODE:nnn Uses the operating system country code to
+ implement the specified language files for a
+ user's help and error messages. A value of
+ 0 signifies the default country code.
+ /EXPIRES:{date | NEVER} Causes the account to expire if date is
+ set. NEVER sets no time limit on the
+ account. An expiration date is in the
+ form mm/dd/yy(yy). Months can be a number,
+ spelled out, or abbreviated with three
+ letters. Year can be two or four numbers.
+ Use slashes(/) (no spaces) to separate
+ parts of the date.
+ /FULLNAME:"name" Is a user's full name (rather than a
+ username). Enclose the name in quotation
+ marks.
+ /HOMEDIR:pathname Sets the path for the user's home directory.
+ The path must exist.
+ /PASSWORDCHG:{YES | NO} Specifies whether users can change their
+ own password. The default is YES.
+ /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
+ a password. The default is YES.
+ /PROFILEPATH[:path] Sets a path for the user's logon profile.
+ /SCRIPTPATH:pathname Is the location of the user's logon
+ script.
+ /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
+ day[-day][,day[-day]],time[-time][,time
+ [-time]], limited to 1-hour increments.
+ Days can be spelled out or abbreviated.
+ Hours can be 12- or 24-hour notation. For
+ 12-hour notation, use am, pm, a.m., or
+ p.m. ALL means a user can always log on,
+ and a blank value means a user can never
+ log on. Separate day and time entries with
+ a comma, and separate multiple day and time
+ entries with a semicolon.
+ /USERCOMMENT:"text" Lets an administrator add or change the User
+ Comment for the account.
+ /WORKSTATIONS:{computername[,...] | *}
+ Lists as many as eight computers from
+ which a user can log on to the network. If
+ /WORKSTATIONS has no list or if the list is *,
+ the user can log on from any computer.
+
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Taiwanese
-USER
-...
+NET USER creates and modifies user accounts on computers. When used
+without switches, it lists the user accounts for the computer. The
+user account information is stored in the user accounts database.
+
+username Is the name of the user account to add, delete, modify, or
+ view. The name of the user account can have as many as
+ 20 characters.
+password Assigns or changes a password for the user's account.
+ A password must satisfy the minimum length set with the
+ /MINPWLEN option of the NET ACCOUNTS command. It can have as
+ many as 14 characters.
+* Produces a prompt for the password. The password is not
+ displayed when you type it at a password prompt.
+/DOMAIN Performs the operation on a domain controller of
+ the current domain.
+/ADD Adds a user account to the user accounts database.
+/DELETE Removes a user account from the user accounts database.
+
+Options Are as follows:
+
+ Options Description
+ --------------------------------------------------------------------
+ /ACTIVE:{YES | NO} Activates or deactivates the account. If
+ the account is not active, the user cannot
+ access the server. The default is YES.
+ /COMMENT:"text" Provides a descriptive comment about the
+ user's account. Enclose the text in
+ quotation marks.
+ /COUNTRYCODE:nnn Uses the operating system country code to
+ implement the specified language files for a
+ user's help and error messages. A value of
+ 0 signifies the default country code.
+ /EXPIRES:{date | NEVER} Causes the account to expire if date is
+ set. NEVER sets no time limit on the
+ account. An expiration date is in the
+ form mm/dd/yy(yy). Months can be a number,
+ spelled out, or abbreviated with three
+ letters. Year can be two or four numbers.
+ Use slashes(/) (no spaces) to separate
+ parts of the date.
+ /FULLNAME:"name" Is a user's full name (rather than a
+ username). Enclose the name in quotation
+ marks.
+ /HOMEDIR:pathname Sets the path for the user's home directory.
+ The path must exist.
+ /PASSWORDCHG:{YES | NO} Specifies whether users can change their
+ own password. The default is YES.
+ /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
+ a password. The default is YES.
+ /PROFILEPATH[:path] Sets a path for the user's logon profile.
+ /SCRIPTPATH:pathname Is the location of the user's logon
+ script.
+ /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
+ day[-day][,day[-day]],time[-time][,time
+ [-time]], limited to 1-hour increments.
+ Days can be spelled out or abbreviated.
+ Hours can be 12- or 24-hour notation. For
+ 12-hour notation, use am, pm, a.m., or
+ p.m. ALL means a user can always log on,
+ and a blank value means a user can never
+ log on. Separate day and time entries with
+ a comma, and separate multiple day and time
+ entries with a semicolon.
+ /USERCOMMENT:"text" Lets an administrator add or change the User
+ Comment for the account.
+ /WORKSTATIONS:{computername[,...] | *}
+ Lists as many as eight computers from
+ which a user can log on to the network. If
+ /WORKSTATIONS has no list or if the list is *,
+ the user can log on from any computer.
+
+ NET HELP command | MORE displays Help one screen at a time.
.
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eaee5e840b9b02aaf04ae…
commit eaee5e840b9b02aaf04ae430bbda379790512b04
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Mar 10 01:04:26 2019 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Mar 10 01:04:26 2019 +0100
[NET] Implement the NET SYNTAX pseudo command.
---
base/applications/network/net/cmdHelp.c | 11 +-
base/applications/network/net/main.c | 1 +
base/applications/network/net/net.h | 1 +
sdk/include/reactos/mc/net_msg.mc | 270 +++++++++++++++++++++++++++++++-
4 files changed, 274 insertions(+), 9 deletions(-)
diff --git a/base/applications/network/net/cmdHelp.c b/base/applications/network/net/cmdHelp.c
index b1643a2c4f..97e22e34b2 100644
--- a/base/applications/network/net/cmdHelp.c
+++ b/base/applications/network/net/cmdHelp.c
@@ -186,12 +186,13 @@ INT cmdHelp(INT argc, WCHAR **argv)
{
return 0;
}
+#endif
if (_wcsicmp(argv[2], L"SYNTAX") == 0)
{
+ PrintNetMessage(MSG_SYNTAX_HELP);
return 0;
}
-#endif
PrintNetMessage(MSG_HELP_SYNTAX);
PrintNetMessage(MSG_HELP_HELP);
@@ -199,3 +200,11 @@ INT cmdHelp(INT argc, WCHAR **argv)
return 0;
}
+
+INT
+cmdSyntax(INT argc, WCHAR **argv)
+{
+ ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
+ PrintNetMessage(MSG_SYNTAX_HELP);
+ return 0;
+}
diff --git a/base/applications/network/net/main.c b/base/applications/network/net/main.c
index 773c25fd94..63c825a11b 100644
--- a/base/applications/network/net/main.c
+++ b/base/applications/network/net/main.c
@@ -38,6 +38,7 @@ COMMAND cmds[] =
{L"start", cmdStart},
{L"statistics", cmdStatistics},
{L"stop", cmdStop},
+ {L"syntax", cmdSyntax},
{L"time", unimplemented},
{L"use", cmdUse},
{L"user", cmdUser},
diff --git a/base/applications/network/net/net.h b/base/applications/network/net/net.h
index d4845232eb..43c5ae5a6a 100644
--- a/base/applications/network/net/net.h
+++ b/base/applications/network/net/net.h
@@ -68,6 +68,7 @@ INT cmdPause(INT argc, WCHAR **argv);
INT cmdStart(INT argc, WCHAR **argv);
INT cmdStatistics(INT argc, WCHAR **argv);
INT cmdStop(INT argc, WCHAR **argv);
+INT cmdSyntax(INT argc, WCHAR **argv);
INT cmdUse(INT argc, WCHAR **argv);
INT cmdUser(INT argc, WCHAR **argv);
diff --git a/sdk/include/reactos/mc/net_msg.mc b/sdk/include/reactos/mc/net_msg.mc
index 5e7b14deb5..dd0f13d188 100644
--- a/sdk/include/reactos/mc/net_msg.mc
+++ b/sdk/include/reactos/mc/net_msg.mc
@@ -1273,7 +1273,8 @@ Language=English
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
- ...
+ NET HELP SYNTAX explains how to read NET HELP syntax lines.
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Polish
Dostępne polecenia to:
@@ -1287,7 +1288,8 @@ Language=Polish
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
- ...
+ NET HELP SYNTAX explains how to read NET HELP syntax lines.
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Romanian
Sunt disponibile următoarele comenzi:
@@ -1301,7 +1303,8 @@ Language=Romanian
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
- ...
+ NET HELP SYNTAX explains how to read NET HELP syntax lines.
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Russian
Доступны следующие команды:
@@ -1315,7 +1318,8 @@ Language=Russian
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
- ...
+ NET HELP SYNTAX explains how to read NET HELP syntax lines.
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Spanish
Éstos son los argumentos de línea de comandos disponibles:
@@ -1329,7 +1333,8 @@ Language=Spanish
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
- ...
+ NET HELP SYNTAX explains how to read NET HELP syntax lines.
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Turkish
Aşağıdaki komutlar kullanılabilir:
@@ -1343,7 +1348,8 @@ Language=Turkish
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
- ...
+ NET HELP SYNTAX explains how to read NET HELP syntax lines.
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Chinese
以下命令可用:
@@ -1357,7 +1363,8 @@ Language=Chinese
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
- ...
+ NET HELP SYNTAX explains how to read NET HELP syntax lines.
+ NET HELP command | MORE displays Help one screen at a time.
.
Language=Taiwanese
以下命令是可用的:
@@ -1371,7 +1378,8 @@ Language=Taiwanese
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
- ...
+ NET HELP SYNTAX explains how to read NET HELP syntax lines.
+ NET HELP command | MORE displays Help one screen at a time.
.
@@ -2776,3 +2784,249 @@ NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
.
+
+
+MessageId=10047
+SymbolicName=MSG_SYNTAX_HELP
+Severity=Success
+Facility=System
+Language=English
+SYNTAX
+The following conventions are used to indicate command syntax:
+
+- Capital letters represent words that must be typed as shown. Lower-
+ case letters represent names of items that may vary, such as filenames.
+
+- The [ and ] characters surround optional items that can be supplied
+ with the command.
+
+- The { and } characters surround lists of items. You must supply one
+ of the items with the command.
+
+- The | character separates items in a list. Only one of the items can
+ be supplied with the command.
+
+ For example, in the following syntax, you must type NET COMMAND and
+ either SWITCH1 or SWITCH2. Supplying a name is optional.
+ NET COMMAND [name] {SWITCH1 | SWITCH2}
+
+- The [...] characters mean you can repeat the previous item.
+ Separate items with spaces.
+
+- The [,...] characters mean you can repeat the previous item, but
+ you must separate items with commas or semicolons, not spaces.
+
+- When typed at the command prompt, service names of two words or
+ more must be enclosed in quotation marks. For example,
+ NET START "COMPUTER BROWSER" starts the computer browser service.
+.
+Language=Polish
+SYNTAX
+The following conventions are used to indicate command syntax:
+
+- Capital letters represent words that must be typed as shown. Lower-
+ case letters represent names of items that may vary, such as filenames.
+
+- The [ and ] characters surround optional items that can be supplied
+ with the command.
+
+- The { and } characters surround lists of items. You must supply one
+ of the items with the command.
+
+- The | character separates items in a list. Only one of the items can
+ be supplied with the command.
+
+ For example, in the following syntax, you must type NET COMMAND and
+ either SWITCH1 or SWITCH2. Supplying a name is optional.
+ NET COMMAND [name] {SWITCH1 | SWITCH2}
+
+- The [...] characters mean you can repeat the previous item.
+ Separate items with spaces.
+
+- The [,...] characters mean you can repeat the previous item, but
+ you must separate items with commas or semicolons, not spaces.
+
+- When typed at the command prompt, service names of two words or
+ more must be enclosed in quotation marks. For example,
+ NET START "COMPUTER BROWSER" starts the computer browser service.
+.
+Language=Romanian
+SYNTAX
+The following conventions are used to indicate command syntax:
+
+- Capital letters represent words that must be typed as shown. Lower-
+ case letters represent names of items that may vary, such as filenames.
+
+- The [ and ] characters surround optional items that can be supplied
+ with the command.
+
+- The { and } characters surround lists of items. You must supply one
+ of the items with the command.
+
+- The | character separates items in a list. Only one of the items can
+ be supplied with the command.
+
+ For example, in the following syntax, you must type NET COMMAND and
+ either SWITCH1 or SWITCH2. Supplying a name is optional.
+ NET COMMAND [name] {SWITCH1 | SWITCH2}
+
+- The [...] characters mean you can repeat the previous item.
+ Separate items with spaces.
+
+- The [,...] characters mean you can repeat the previous item, but
+ you must separate items with commas or semicolons, not spaces.
+
+- When typed at the command prompt, service names of two words or
+ more must be enclosed in quotation marks. For example,
+ NET START "COMPUTER BROWSER" starts the computer browser service.
+.
+Language=Russian
+SYNTAX
+The following conventions are used to indicate command syntax:
+
+- Capital letters represent words that must be typed as shown. Lower-
+ case letters represent names of items that may vary, such as filenames.
+
+- The [ and ] characters surround optional items that can be supplied
+ with the command.
+
+- The { and } characters surround lists of items. You must supply one
+ of the items with the command.
+
+- The | character separates items in a list. Only one of the items can
+ be supplied with the command.
+
+ For example, in the following syntax, you must type NET COMMAND and
+ either SWITCH1 or SWITCH2. Supplying a name is optional.
+ NET COMMAND [name] {SWITCH1 | SWITCH2}
+
+- The [...] characters mean you can repeat the previous item.
+ Separate items with spaces.
+
+- The [,...] characters mean you can repeat the previous item, but
+ you must separate items with commas or semicolons, not spaces.
+
+- When typed at the command prompt, service names of two words or
+ more must be enclosed in quotation marks. For example,
+ NET START "COMPUTER BROWSER" starts the computer browser service.
+.
+Language=Spanish
+SYNTAX
+The following conventions are used to indicate command syntax:
+
+- Capital letters represent words that must be typed as shown. Lower-
+ case letters represent names of items that may vary, such as filenames.
+
+- The [ and ] characters surround optional items that can be supplied
+ with the command.
+
+- The { and } characters surround lists of items. You must supply one
+ of the items with the command.
+
+- The | character separates items in a list. Only one of the items can
+ be supplied with the command.
+
+ For example, in the following syntax, you must type NET COMMAND and
+ either SWITCH1 or SWITCH2. Supplying a name is optional.
+ NET COMMAND [name] {SWITCH1 | SWITCH2}
+
+- The [...] characters mean you can repeat the previous item.
+ Separate items with spaces.
+
+- The [,...] characters mean you can repeat the previous item, but
+ you must separate items with commas or semicolons, not spaces.
+
+- When typed at the command prompt, service names of two words or
+ more must be enclosed in quotation marks. For example,
+ NET START "COMPUTER BROWSER" starts the computer browser service.
+.
+Language=Turkish
+SYNTAX
+The following conventions are used to indicate command syntax:
+
+- Capital letters represent words that must be typed as shown. Lower-
+ case letters represent names of items that may vary, such as filenames.
+
+- The [ and ] characters surround optional items that can be supplied
+ with the command.
+
+- The { and } characters surround lists of items. You must supply one
+ of the items with the command.
+
+- The | character separates items in a list. Only one of the items can
+ be supplied with the command.
+
+ For example, in the following syntax, you must type NET COMMAND and
+ either SWITCH1 or SWITCH2. Supplying a name is optional.
+ NET COMMAND [name] {SWITCH1 | SWITCH2}
+
+- The [...] characters mean you can repeat the previous item.
+ Separate items with spaces.
+
+- The [,...] characters mean you can repeat the previous item, but
+ you must separate items with commas or semicolons, not spaces.
+
+- When typed at the command prompt, service names of two words or
+ more must be enclosed in quotation marks. For example,
+ NET START "COMPUTER BROWSER" starts the computer browser service.
+.
+Language=Chinese
+SYNTAX
+The following conventions are used to indicate command syntax:
+
+- Capital letters represent words that must be typed as shown. Lower-
+ case letters represent names of items that may vary, such as filenames.
+
+- The [ and ] characters surround optional items that can be supplied
+ with the command.
+
+- The { and } characters surround lists of items. You must supply one
+ of the items with the command.
+
+- The | character separates items in a list. Only one of the items can
+ be supplied with the command.
+
+ For example, in the following syntax, you must type NET COMMAND and
+ either SWITCH1 or SWITCH2. Supplying a name is optional.
+ NET COMMAND [name] {SWITCH1 | SWITCH2}
+
+- The [...] characters mean you can repeat the previous item.
+ Separate items with spaces.
+
+- The [,...] characters mean you can repeat the previous item, but
+ you must separate items with commas or semicolons, not spaces.
+
+- When typed at the command prompt, service names of two words or
+ more must be enclosed in quotation marks. For example,
+ NET START "COMPUTER BROWSER" starts the computer browser service.
+.
+Language=Taiwanese
+SYNTAX
+The following conventions are used to indicate command syntax:
+
+- Capital letters represent words that must be typed as shown. Lower-
+ case letters represent names of items that may vary, such as filenames.
+
+- The [ and ] characters surround optional items that can be supplied
+ with the command.
+
+- The { and } characters surround lists of items. You must supply one
+ of the items with the command.
+
+- The | character separates items in a list. Only one of the items can
+ be supplied with the command.
+
+ For example, in the following syntax, you must type NET COMMAND and
+ either SWITCH1 or SWITCH2. Supplying a name is optional.
+ NET COMMAND [name] {SWITCH1 | SWITCH2}
+
+- The [...] characters mean you can repeat the previous item.
+ Separate items with spaces.
+
+- The [,...] characters mean you can repeat the previous item, but
+ you must separate items with commas or semicolons, not spaces.
+
+- When typed at the command prompt, service names of two words or
+ more must be enclosed in quotation marks. For example,
+ NET START "COMPUTER BROWSER" starts the computer browser service.
+.