The commands you list will not stop/start IMail's web messaging. It will stop/start your IIS service Here is a batch file you could use:
@ECHO OFF ;Stop Web Messaging net stop iwebmsg ;Stop SMTP net stop smtpd32 ;Stop POP3 net stop pop3d32 ;Stop IMAP net stop imap4d32 ;Stop Web Calendaring net stop iwebcal ;Restart services net start iwebmsg net start smtpd32 net start pop3d32 net start imap4d32 net start iwebcal END Then set AT command for the reoccurrence of this that you want (use scheduled tasks in Win2K) Eric S ----- Original Message ----- From: "Bob McGregor" <[EMAIL PROTECTED]> To: "IMailList" <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 11:56 AM Subject: [IMail Forum] Batch to stop/restart services. Up to now I have not done a scheduled stop/restart of any services in Imail. I would like to start doing that nightly. Are there any other services that can be stopped/restarted using a bat file other than web messaging? If so, what are the commands to do so? Also, are these the right commands to stop/restart web messaging: net stop iisadmin /y net start w3svc thanks, bob Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
