Home > Common Problem > body text

How to use net use command

小老鼠
Release: 2023-09-28 17:46:28
Original
4810 people have browsed it

Common syntax of the net use command: 1. Create a new shared connection: net use [share path] [/user:username] [password]; 2. Disconnect an existing shared connection: net use [shared path] /delete; 3. List all shared resources currently connected: net use, etc.

How to use net use command

The net use command is used to establish or delete shares between computers and list the currently connected shared resources.

The following is the common syntax of the net use command:

1. Establish a new shared connection: net use [share path] [/user: username] [password]

For example, to connect to the shared path named "sharename", the user is "tom" and the password is "password", enter the following command: net use \server\sharename /user:tom password

2. Disconnect an existing shared connection: net use [shared path] /delete

For example, to disconnect to a shared path named "sharename", enter the following command: net use \server \sharename /delete

3. List all shared resources currently connected: net use

The above is the basic usage of the net use command. You can view it by entering "net use /?" More available options and syntax.

The above is the detailed content of How to use net use command. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!