Solved

dos command to connect to a mapped drive

Posted on 2007-04-05
4
3,001 Views
Last Modified: 2012-08-14
Is there a dos command to reconnect to a mapped drive?
0
Comment
Question by:Aiysha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
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.

734 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