Net use

Connects a network share to a drive letter. The net use command with the parameters listed below is only available when you are using the Recovery Console The net use command with different parameters is available from the command prompt.

Syntax

net use [\\ComputerName\ShareName [/user:[DomainName\]UserName] password] | [drive letter:] [/d]

Top of pageTop of page

Parameters

\\ComputerName\ShareName

Specifies the name of the server and the shared resource. If ComputerName contains blank characters, enclose the entire computer name from the double backslash (\\) to the end of the computer name in quotation marks. The computer name can be from 1 to 15 characters long.

/user:

Specifies the user name with which the connection is made.

DomainName

Domain-name to use when validating the credentials for the User.

UserName

Specifies the user name with which to log on.

Password

Specifies the password needed to access the shared resource. Leave blank to produce a prompt for the password. The password is not displayed when you type it at the password prompt.

/d

Indicates that this connection is to be disconnected.

Recovery Console overview

Recovery Console commands

Command-line reference A-Z


Top of pageTop of page