Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Suggestions (https://www.kinook.com/Forum/forumdisplay.php?f=4)
-   -   Disconnect network drive with resource closing (https://www.kinook.com/Forum/showthread.php?t=4741)

Statler6 12-09-2010 08:00 AM

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.

kinook 02-22-2012 01:35 PM

This is implemented in v8.0.

Statler6 02-23-2012 08:48 AM

Thank you very much! :)


All times are GMT -5. The time now is 01:59 PM.


Copyright © 1999-2023 Kinook Software, Inc.