C:\WINDOWS>NET HELP SYNTAX
此命令的语法是:
SYNTAX
下面的命名约定用于表示命令语法:
- 大写字母表示必须如实输入的字。小写字母表示可以变动的项目的名称,例如文
件名。
-
[ and
] 字符将可以在命令中添加的可选项目包括在内。
- { and } 字符包括了项目列表。用户必须在命令中包含庑┫钅恐械哪骋桓觥?
- | 字符用于隔开一个列表中的各个项目。只能在命令中包含其一。
例如,在下面的语法中,用户必须输入 NET COMMAND 以及 SWITCH1 或 SWITCH2,
而名字是可选的。
NET COMMAND
[名字
] {SWITCH1 | SWITCH2}
-
[...
] 字符表明用户可以重复前面的各项。用空格将各个项目分开。
-
[,...
] 字符表明用户可以重复前面的各项,但是用户必须用逗号或分号,
而不是空格将各个项目分开。
- 当在命令行下输入时,两个或多个字的服务名称必须包含在引号中。 例如,
NET START "COMPUTER BROWSER" 命令就会启动扑慊榔鞣瘛?
C:\WINDOWS>NETSTAT /?
Displays protocol statistics and current TCP/IP network connections.
NETSTAT
[-a
] [-e
] [-n
] [-o
] [-s
] [-p proto
] [-r
] [interval
] -a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with
the -s
option.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each
connection.
-p proto Shows connections for the protocol specified by proto;
proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with
the -s
option to display per-protocol statistics, proto may be
any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default,
statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and
UDPv6;
the -p option may be used to specify a subset of the
default.
interval Redisplays selected statistics, pausing interval
seconds
between each display. Press CTRL+C to stop
redisplaying
statistics. If omitted, netstat will print the current
configuration information once.
C:\WINDOWS>NLSFUNC /?
Invalid keyboard code specified
Loads country-specific information.
NLSFUNC
[[drive:
][path
]filename
] [drive:
][path
]filename Specifies the file containing country-
specific
information.