HilltownHealthCenter
asked on
Hot to batch script "net share <fn> /delete" to skip yes/no query
I want to unshare a network drive using "net share <fn> /delete", but if files are in use, the utility queries the user "others are using this share, do you really want to..." etc. I want to script an unconditional unshare, to run in a batch file. I tried /y after the command, but this did not do it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER