?
Solved

dos command to connect to a mapped drive

Posted on 2007-04-05
4
Medium Priority
?
3,007 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 2000 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

752 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