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 server.abc.coml /RecordDelete abc.com xyz A 1.1.1.1


See More: Batch file user input

Report •


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

echo Y|dnscmd.exe server.abc.coml /RecordDelete abc.com xyz A 1.1.1.1

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