NETWORK ADMINISTRATION: NET USE COMMAND
The Net Use command connects to or disconnects from a shared resource on another computer and maps the resource to a drive letter. Here is the complete syntax:
net use [{drive | *}]
[{ComputerNameShareName]
[{Password | *}]]
[/user:[DomainName]UserName]
[/savecred]
[/smartcard]
[{/delete | /persistent:{yes | no}}]
To set up a home directory, use this syntax:
net use [drive [/home[{password | *}]
[/delete:{yes | no}]]
And to control whether connections should be persistent, use this:
net use [/persistent:{yes | no}]
Here’s what the parameters do:
-
DeviceName: Specifies the drive letter. (Note that for a printer, you should specify a printer device such as LPT1: here instead of a drive letter.) If you specify an asterisk, Windows will determine what drive letter to use.
-
\ComputerNameShareName: The server and share name to connect to.
-
Password: The password needed to access the shared resource. If you use an asterisk, you’re prompted for the password.
-
User: Specifies the username to use for the connection.
-
Savecred: Saves the credentials for reuse later if the user is prompted for a password.
-
Smartcard: Specifies that the connection should use a smart card for authorization.
-
Delete: Deletes the specified connection. If you specify an asterisk (*), all network connections are canceled.
-
Persistent: Specifies whether connections should be persistent.
-
Home: Connects to the home directory.
To display all current connections, type net use with no parameters.
The following example shows how to create a persistent connection to a drive named Acct on a server named Server01, using drive K:
C:>net use k: \Server02 /persistent: yes
The following example drops the connection:
C:>net use k: /delete
I am really impressed with your writing talents as neatly as with the format on your weblog. Is that this a paid subject or did you modify it yourself? Either way keep up the nice high quality writing, it is uncommon to look a great blog like this one these days.
Muchos Gracias for your blog article. Thanks Again. Fantastic. Wilmette Daryl Favrot
Appreciate you sharing, great blog post. Much thanks again. Much obliged. Dianemarie Lyn Noma
I have read so many content on the topic of the blogger lovers except this paragraph is actually a pleasant paragraph, keep it up. Micaela Chrisy Elsie
Wow, this paragraph is fastidious, my sister is analyzing these things, therefore I am going to inform her. Becki Humbert Cruickshank
A round of applause for your blog. Really looking forward to read more. Really Cool. Devonne Brandy Hillie
You could certainly see your enthusiasm within the work you write. Chelsey Berkley Madian
Wohh precisely what I was searching for, regards for posting. Aloisia Benoit Hephzipah Ann-Marie Bay Weinreb
This is really attention-grabbing, You are an excessively professional blogger. Margaretha Angie Chesney
Nice respond in return of this difficulty with firm arguments and telling everything about that.| Gerianna Felipe Casey
I randomly stopped by your site but you are really successful Manon Cornie Elwina
This excellent website really has all the information I needed concerning this subject and didn at know who to ask. Arliene Patin Duke
Wonderful post! We will be linking to this particularly great article on our website. Keep up the great writing. Lottie Tod Dianemarie
You have made some good points there. I checked on the net to learn more about the issue and found most people will go along with your views on this website. Jasmin Rurik Ahern