"auto-answer" command prompt


I want to do the following:
When I type "net use * /d" in the command windows, the computer asks to delete the net uses, where I have to answer with "y".

I thought there was also a possibility to use "cmd|y" or "y|cmd", but I don't find it anymore ...
zeugjeAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
MaBConnect With a Mentor Commented:
Hi zeugje,
Try "net use * /d /y"

Cheers!
0
 
zeugjeAuthor Commented:
OK. This works indeed. Thanks a lot.
0
 
MaBCommented:
My pleasure :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.