Click here for important information about

Batch file user input

January 19, 2011 at 21:08:11
Specs: Windows Vista
I am using the below command in a batch file. It stops for user input for yes / no. I want to fix the input to yes so that the program does not stop for user input

dnscmd.exe /RecordDelete xyz A

See More: Batch file user input

January 20, 2011 at 08:23:58
I think this might work...

echo Y|dnscmd.exe /RecordDelete xyz A

P.S. I hope you are planning on doing this on the server. This command on a workstation could be used for a virus to poison your DNS.

Report •
Related Solutions

Ask Question