Hi, I'm running a very basic script as I'm rather new to scripting. I am stopping services for a backup job because they make the backup fail. The following is the bat script.
net stop "Symantec Mail Security for Microsoft Exchange"
net stop "GFI MailEssentials Attendant"
net stop "GFI POP2Exchange"
net stop "GFI List Server"
The last 3 are one program which requires a prompt during the running of the script. How do I get the script to automatically answer yes when asked if I want to stop the other services as well? Please let me know! thanks!
net stop "Symantec Mail Security for Microsoft Exchange"
net stop "GFI MailEssentials Attendant"
net stop "GFI POP2Exchange"
net stop "GFI List Server"
The last 3 are one program which requires a prompt during the running of the script. How do I get the script to automatically answer yes when asked if I want to stop the other services as well? Please let me know! thanks!