i tried auto answer for net command in windows.
echo Y | net share /delete ServerShare_XXX
net share /delete ServerShare_XXX && echo y
I cannot confirm auto answer y. please help me.
C:\WINDOWS\system32>echo y | net share /delete ServerShare_XXX
Users have open files on ServerShare_XXX. Continuing the operation will force the files closed.
Do you want to continue this operation? (Y/N) [N]:
No valid response was provided.
net share ServerShare_XXX /delete /yes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With