Hi I want to have a batch file that will disconnect all my network shares.
on the *.bat file, i wrote:
net use * /delete
but CMD wants me to supply a Y or N answer to the question "Are you sure..."
What should i add to the batch file in order to auto answer with a Y to that question.
Thanks
Dori
net use * /delete /yes
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |