Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Suggestions

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 12-09-2010, 08:00 AM
Statler6's Avatar
Statler6 Statler6 is online now
Registered User
 
Join Date: 02-06-2006
Posts: 13
Disconnect network drive with resource closing

I have to change drive mappings during build and sometimes it might happen that I get the following message when VBP tries to disconnect a drive mapping:
Code:
09.12.10 14:20:52: Building project step 3 - Disconnect Drive...
There are open files and/or incomplete directory searches pending on the connection to Q:.

Is it OK to continue disconnecting and force them closed? (Y/N) [N]: 
No valid response was provided.
http://ss64.com/nt/net_use.html suggests that this can be avoided by using
Code:
NET USE [driveletter:] /DELETE /Y
instead of
Code:
NET USE [driveletter:] /DELETE
I suggest that the Map Drive action is amended to provide an option for that /Y flag to disconnect network drive.
Reply With Quote
  #2  
Old 02-22-2012, 01:35 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,184
This is implemented in v8.0.
Reply With Quote
  #3  
Old 02-23-2012, 08:48 AM
Statler6's Avatar
Statler6 Statler6 is online now
Registered User
 
Join Date: 02-06-2006
Posts: 13
Thank you very much!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Copyright 1999-2013 Kinook Software, Inc.