The information in this article applies to:
SUMMARYWhen you use Net.exe commands in a batch file, you can use the Y or N switch to unconditionally answer Yes or No to questions returned by the Net command. MORE INFORMATION
Normally, you could pass a "Y" using Standard-in through redirection as in
the following example:
But the following error occurs using this method when the Delshare.bat file is run and fails the operation.
WORKAROUND
Change your batch file to include the Y switch to unconditionally answer
Yes to the question "Do you want to continue this operation? (Y/N) [N]:"
After running this batch file, you will receive the following message:
Additional query words: std-in prodnt
Keywords : kbusage ntdomain ntutil |
Last Reviewed: January 4, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |