NET Use method

Source: Internet
Author: User

NET use lists native network connections
NET use \\IP\ipc$ "password"/user: "account number" establishes ipc$ with the specified IP (null connection)
NET use Z: \\IP\c$ "password"/user: "account" maps each other's C drive to its own Z-disk
NET use \\IP\ipc$/del Delete ipc$ connection to the specified IP
NET use Z:/del delete the z-disk of native mappings
NET use */del remove all native mappings and ipc$ connections
If prompted: The credentials provided conflict with existing credentials, net use */del can be

Net use
Connect the computer to or disconnect from a shared resource, or display information about the computer connection. The command also controls persistent network connections. When used without parameters, net use can retrieve a list of network connections.

Grammar
net use [{devicename | *}] [{\\computername[\sharename[\volume]]] |[[Url]http://computername/sharename[/url][/folder]}][{Password | *}]] [/userscreen.width-300) this.width=screen.width-300 ' >domainname\]username] [/userscreen.width-300] this.width= Screen.width-300 ' >dotteddomainname\]username] [/userscreen.width-300) this.width=screen.width-300 ' >[email protected] [/savecred] [/smartcard] [{/delete |/persistent:{yes | no}}]

NET use [devicename [/home[{password | *}] [/delete:{yes | no}]

NET USE [/persistent:{yes | no}]

Parameters
DeviceName

Assign a name to connect to the resource, or specify the device to disconnect. There are two types of device names: disk drives (that is, D: to Z:) and printers (that is, LPT1: to LPT3:). Type an asterisk (*) to assign the next available device name in place of the specified device name.

\\ComputerName\ShareName

Specifies the name of the server and shared resource. If ComputerName contains spaces, enclose the entire computer name in quotation marks, starting with \ \ to the end of the computer name (such as "\\Computer name\share name"). The computer name can be between 1 and 15 characters. If \sharename is omitted, an attempt is made to connect to the ipc$ share.

NET Use method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.