I’m trying to automate the backup of our Win NT Server box. It contains Exchange server 5.5 as well as acting as our PDC on the network. I’m using WinAT to schedule the start of the back up and I’m using the back up program that is included with NT Server. I know I have to stop the Exchange server services before the back up can begin so in the batch file that I’m writing, I have the lines to stop the Exchange server first. The lines work, but when I stop a service, I have to answer “y” when asked if I really want to stop this service. How can include this answer into my batch program so that I don’t have to be present? Here is a sample of the stop lines I’m using:
NET STOP MSExchangeDS
NET STOP MSExchangeES
NET STOP MSExchangeIS
NET STOP MSExchangeIMC
NET STOP MSExchangeMTA
NET STOP MSExchangeSA
What should I add to these lines to have this run without my being there? Thank you for your assistance.
Jason Alexander