English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

What is the command that needs to be entered into a batch file for mapping a network drive. I need to create a batch file and use it to automaticly map a network drive after a user double clicks the batch file. thank you

2006-07-13 08:52:05 · 3 answers · asked by AZ 1 in Computers & Internet Computer Networking

3 answers

net use drive letter share name
Example

net use h: "\\my server\my share"

This example will map drive H to My Share on My Server

net use /delete /yes h: Will disconnect the drive

This command can also be added to the run section in the Windows Registry

2006-07-13 08:56:39 · answer #1 · answered by Mad Jack 7 · 0 0

NET USE command is what you need.

drop down to command line and type "net use help"

2006-07-13 15:58:30 · answer #2 · answered by tkquestion 7 · 0 0

Well that all depends on if the user is on a Novell network or a Microsoft network.

Novell:
MAP R:=SERVER1/:\

Microsoft:
NET USE R: \\SERVER\\

2006-07-13 15:59:03 · answer #3 · answered by creskin 4 · 0 0

fedest.com, questions and answers