If you use this command line switch without specifying a computer, the utility
ends all of the existing sessions.
SHARE
Use the SHARE mode to define resources available to other users or machines on the network. For
example, you can choose to share a hard drive with other users on the network. When used alone,
the SHARE mode displays a list of shared items on the local computer. Each shared item entry
includes the device name, the pathname, and a descriptive comment. You must start the Server service
to use this mode. This mode uses the following syntax:
NET SHARE sharename
NET SHARE sharename=drive:path [/USERS:number | /UNLIMITED]
[/REMARK:???text???] [/CACHE:Manual | Documents | Programs | None ]
NET SHARE sharename [/USERS:number | /UNLIMITED] [/REMARK:???text???]
[/CACHE:Manual | Documents | Programs | None]
NET SHARE {sharename | devicename | drive:path} /DELETE
The following list describes each of the command line arguments.
sharename Specifies the network name (the UNC name) of the shared resource. Type Net
Share sharename alone and press Enter to display information about the shared resource
including the sharename, path, remark, maximum users, users, and caching.
Pages:
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690