C:\WINDOWS>NET HELP VIEW
此命令的语法是:
NET VIEW
[\\computername
[/CACHE
] | /DOMAIN
[:domainname
]]NET VIEW /NETWORK:NW
[\\computername
]NET VIEW 用于显示一个计算机上共享资源的列表。当不带选项使用本命令时,它就会显示
当前域或网络上的计算机上的列表。
\\computername 指用户希望浏览其共享资源的计算机。
/DOMAIN:domainname 指定用户希望浏览有效的计算机所在的域。如果省略了域名,
就会显示局域网络上的所有域。
/NETWORK:NW 显示 NetWare
网络上所有可用的服务器。如果指定了一个计算
机名,就会显示 NetWare
网络中那个计算机上的可用资源。
/CACHE 显示指定计算机上的脱机客户资源缓存设置
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.