Solved Auto Answer Y to net use * /delete

December 22, 2011 at 12:21:43
Specs: XP

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.



See More: Auto Answer Y to net use * /delete

Report •

December 22, 2011 at 12:40:07
✔ Best Answer
net use * /delete /yes

Report •
Related Solutions

Ask Question