Discussion Locked

Dos batch file

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I'm wrote a dos batch file that will map a drive on the network to the clients computer from home. The drive requires a password. Is there a way I can enter a username and password in the script for the drive I'm trying to map. This is for a windows xp computer.
Any help would be appreciated. Thank 's in advance

5 replies

by sgt_shultz

NET USE {devicename | *} [password | *] /HOME

the character that looks like a vertical line is the pipe character which is shift backslash (above the enter key)

by bhaskar.bhaskar

In the command prompt type:
net use /?
This will generate all the feasible options.There u can find the syntax for this

This discussion is closed to new replies.