Link to home
Start Free TrialLog in
Avatar of strongd
strongdFlag for United States of America

asked on

Disconnecting network drive from command line

I am running NT 4.0, I have a batch file that
connects my network drives.  I want to be able to disconnect them with another batch.

I am trying to use  net use
here is what I am typing but I am getting an error:

net use V: \\mymachine\mydir /delete

This will not work keep getting an error, here is the error:
"A command was used with conflicting switches.

More help is available by typing NET HELPMSG 3510"

I just want to disconnect a network drive from the commandline.  Thnaks
 
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fco_jimenez
fco_jimenez

Write

NET USE V: /DELETE

It should work
fco_jimenez is right.

If you hate typing, you can also use

net use v: /d

best regards

Draak
Try using :
net use V: /del
strongd:

You have many open questions:

https://www.experts-exchange.com/jsp/qShow.jsp?qid=20242139
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20190728
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20187050
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20187000
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20169705
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11602818
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20040406
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20110761

To assist you in your cleanup, I'm providing the following guidelines:

1.  Stay active in your questions and provide feedback whenever possible. Likewise, when feedback has not been provided by the experts, commenting again makes them receive an email notification, and they may provide you with further information. Experts have no other method of searching for questions in which they have commented, except manually.

2.  Award points by hitting the Accept Comment As Answer button located above and to the left of that expert's comment.

3.  When grading, be sure to read:
https://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp#3
to ensure that you understand the grading system here at EE. If you grade less than an A, you must explain why.

4.  Questions that were not helpful to you should be PAQ'd (stored in the database for their valuable content?even if not valuable to you) or deleted. To PAQ or delete a question, you must first post your intent in that question to make the experts aware. Then, if no experts object after three full days, you can post a zero-point question at community support to request deletion or PAQ. Please include the link(s) to the question(s).
CS:  https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
At that point, a moderator can refund your points and PAQ or delete the question for you. The delete button does not work.

5.  If you fail to respond to this cleanup request, I must report you to the Community Support Administrator for further action.

Our intent is to get the questions cleaned up, and not to embarrass or shame anyone. If you have any questions or need further assistance at all, feel free to ask me in this question or post a zero-point question at CS. We are very happy to help you in this task!


thanks!
amp
community support moderator
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if still open in seven days.  Please post closing recommendations before that time.

Question(s) below appears to have been abandoned. Your options are:
 
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> You cannot delete a question with comments, special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process for further information, if needed.  https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, to track all your open and locked questions at this site.  If you are an EE Pro user, use the Power Search option to find them.  Anytime you have questions which are LOCKED with a Proposed Answer but does not serve your needs, please reject it and add comments as to why.  In addition, when you do grade the question, if the grade is less than an A, please add a comment as to why.  This helps all involved, as well as future persons who may access this item in the future to seek help.

To view your open questions, please click the following link(s) and keep them all current with updates.
https://www.experts-exchange.com/questions/Q.20040406.html
https://www.experts-exchange.com/questions/Q.11602818.html
https://www.experts-exchange.com/questions/Q.20187000.html
https://www.experts-exchange.com/questions/Q.20187050.html
https://www.experts-exchange.com/questions/Q.20169705.html
https://www.experts-exchange.com/questions/Q.20190728.html
https://www.experts-exchange.com/questions/Q.20242139.html
https://www.experts-exchange.com/questions/Q.20110761.html
https://www.experts-exchange.com/questions/Q.20281271.html




PLEASE DO NOT AWARD THE POINTS TO ME.  
 
------------>  EXPERTS:  Please leave any comments regarding your closing recommendations if this item remains inactive another seven (7) days.  Also, if you are interested in the cleanup effort, please click this link https://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643

Moderators will finalize this question if still open in 7 days, by either moving this to the PAQ (Previously Asked Questions) at zero points, deleting it or awarding expert(s) when recommendations are made, or an independent determination can be made.  Expert input is always appreciated to determine the fair outcome.
 
Thank you everyone.
 
Moondancer
Moderator @ Experts Exchange
strongd,
No comment has been added lately (448 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to lrmoore http:#6037265

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

lrmoore
EE Cleanup Volunteer
Per recommendation.

YensidMod
EE Moderator