I have the following batch script called dropShares.bat:
net share sharename1 /delete
net share sharename2 /delete
net share sharename3 /delete
net share sharename4 /delete
The "net share" command will sometimes prompt me for a response, thus stopping the batch script. How can I suppress this behavior, or provide several "Y" values?