Solved

dos command to connect to a mapped drive

Posted on 2007-04-05
4
2,993 Views
Last Modified: 2012-08-14
Is there a dos command to reconnect to a mapped drive?
0
Comment
Question by:Aiysha
4 Comments
 
LVL 32

Expert Comment

by:r-k
ID: 18858349
Type "net use /?" at a command prompt.

or see http://www.cezeo.com/tips-and-tricks/net-use-command/ for examples.
0
 
LVL 1

Expert Comment

by:gigco
ID: 18858387
Yes - net use <drive letter>: "<path to drive>" /persistent:yes

So if you wanted an M: drive to go to Server1 and access folder Apps and have it reconnect on logon here is what you'd use:

net use M: "\\Server1\Apps" /persistent:yes

That's it - you'd have an M: drive to the apps folder on server1 that'd reconnect on logon.

Good luck!
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 18858393
to 'reconnect'?

You could use
net use r: /del
net use r: \\server\share

to disconnect and reconnect the r drive to an existing resource...
0
 

Author Comment

by:Aiysha
ID: 18858482
Sirbounty to the rescue as always !! Thank you.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Resolve DNS query failed errors for Exchange
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now