Computing.Net > Forums > Windows 2000 > Windows 2000 mapped drives - URGENT

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Windows 2000 mapped drives - URGENT

Reply to Message Icon

Name: Greg
Date: April 16, 2001 at 12:40:56 Pacific
Comment:

I sometimes get the following error when trying to delete a mapped drive from within a batch file.

There are open files and/or incomplete directory searches pending on the connection to w:

Is it OK to continue disconnecting and force them closed? (Y/N) [N]:

There are no open files on w: and if there are incomplete directory searches, I sure don't know about them.

How can I force the delete of this drive and continue on without user intervention?



Sponsored Link
Ads by Google

Response Number 1
Name: max
Date: April 16, 2001 at 12:42:41 Pacific
Reply:

Disconnect the network drive you want to delete first by right clicking my computer and choosing disconnect network drive. Give this a try.


0

Response Number 2
Name: Greg
Date: April 16, 2001 at 12:45:07 Pacific
Reply:

This has to be as user friendly as possible, so this isn't really an option. Everything has to be automated from within the batch file.


0

Response Number 3
Name: dr oneill
Date: April 16, 2001 at 14:09:15 Pacific
Reply:

Hi Greg:

Why not have the batch file first disconnect the network drive, then delete it? Shouldn't be that hard to do.

Good Luck


0

Response Number 4
Name: Read
Date: April 17, 2001 at 02:53:27 Pacific
Reply:

Change to an other drive before disconncting.
i.e.
insert: c:
before: net use w: /delete


0

Response Number 5
Name: Greg
Date: April 17, 2001 at 06:16:41 Pacific
Reply:

How do I disconnect the drive before deleting it?


0

Related Posts

See More



Response Number 6
Name: Jeff
Date: January 29, 2002 at 07:46:46 Pacific
Reply:

I had the same problem and fixed it by adding the /yes switch to the delete portion of the login script. eg.

net use h: /delete /yes

this seems to work....


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Windows 2000 mapped drives - URGENT

Windows 2000 - Mapped Drives www.computing.net/answers/windows-2000/windows-2000-mapped-drives/9227.html

Windows 2000/ mapping www.computing.net/answers/windows-2000/windows-2000-mapping/31362.html

Windows 2000 mapping problem www.computing.net/answers/windows-2000/windows-2000-mapping-problem/27620.html