command line - "net share xyz /DELETE" fails if a file is in use on that share - Super User
I'm attempting, using NAnt, to disconnect a share (in order to redirect it somewhere else) but my attempt fails: [exec] Starting 'net (SHARE ad3-config /DELETE)' in...