M
M
mr_blond972016-05-12 22:06:59
cmd/bat
mr_blond97, 2016-05-12 22:06:59

How to set username and password for net use in bat file?

How to enter username and password in bat file net use \\192.168.1.1\C$?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2016-05-12
@mr_blond97

net use [driveletter:] \\ComputerName\ShareName[\volume] [password | *]
[/USER:[domainname\]username] [/PERSISTENT:{YES | NO}]

net use \\192.168.1.1\C$ /user:domain\username password

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question