Show/Hide Toolbars

Take Command / TCC Help v. 21

Navigation: TCC > Commands

ENUMSHARES

Scroll Prev Top Next More
Purpose:Enumerate the share names for the specified server

 

Format:ENUMSHARES [/- /A /D /F /I /P /Q /R /U /V] \\server\sharename

 

serverThe machine name

 

sharenameThe sharename(s) to match. Sharenames may contain wildcards, including regular expressions.

 

 

Usage:

 

ENUMSHARES will show the share names of the specified type for a network server. ENUMSHARES will enumerate a single server; you cannot specify any wildcards in the server name.

 

Option:

 

/=Display the ENUMSHARES command dialog to help you set the command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

/ADisplay the admin shares (i.e., ADMIN$, C$, print$, etc.)

 

/DDisplay the disk shares (default unless /F, /I, or /Q is set)

 

/FThe local path for the shared resource. For disks, this member is the path being shared. For print queues, this is the name of the print queue being shared.

 

/IDisplay the shared IPC (interprocess communication).

 

/PPause after each page.

 

/QDisplay the shared print queues

 

/RDisplay the optional comment about the sharename (in quotes)

 

/UDisplay the current number of uses and the maximum allowed uses in the format "[n] [n]".

 

/VDisplay the shared communication devices