Partager via


Managing shared folders from the command line

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Managing shared folders from the command line

In addition to Shared Folders and Windows Explorer, you can use the command-line utilities in the following table to manage shared resources.

Name Use to

net file

View and control resources that are shared on the network. The Server service must be running for you to use this command.

net config

View the maximum number of users who can access a shared resource and the maximum open files per session.

Net use

Connect a computer to or disconnect a computer from a shared resource.

net session

Manage server connections.

net share

Create, delete, manage, and display shared resources.

net view

Display information about the domains, computers, or resources that are shared by the specified computer, including the offline client caching settings.

Net help

View help for network commands.

For information about other command-line utilities, see Command-line reference A-Z. For more information about manageability, see Management Strategies and Tools.