Solved

dos command to connect to a mapped drive

Posted on 2007-04-05
4
2,992 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

9 Experts available now in Live!

Get 1:1 Help Now