|
Answer» I have created a schedule task for taking backup of emails from notebook.
I have created a batchfile named: emailfri.bat (execution time: 12.45 pm)
Code: [Select]taskkill /s bkkedia-pc.rsr.hngil.com /im outlook.exe taskkill /s abanerjee.rsr.hngil.com /im outlook.exe taskkill /s rlkhandelia.rsr.hngil.com /im outlook.exe taskkill /s smodak.rsr.hngil.com /im outlook.exe DEL /F /Q d:\backup\hngrsremail\emailfri.zip "C:\Program Files (x86)\PKWARE\PKZIPC\pkzipc.exe" -add=update -directories -recurse d:\backup\hngrsremail\emailfri.zip c:\backup\email.txt
In the email.txt I have written the FOLLOWING:
Code: [Select]\\bkkedia-pc\Outlook\* \\abanerjee\Outlook\* \\rlkhandelia\Outlook\* \\smodak\Outlook\*
I have created another batchfile named: notification1240.bat (execution time: 12.40 pm)
Code: [Select]msg proy /server:proy.rsr.hngil.com 'Microsoft Outlook will be shut down at 12.45 hrs for Mail Backup, please SAVE your work till further INFORMATION" msg jkmalpani /server:bkkedia-pc.rsr.hngil.com 'Microsoft Outlook will be shut down at 12.45 hrs for Mail Backup, please save your work till further information" msg abanerjee /server:abanerjee.rsr.hngil.com 'Microsoft Outlook will be shut down at 12.45 hrs for Mail Backup, please save your work till further information" msg rlkhandelia /server:rlkhandelia.rsr.hngil.com 'Microsoft Outlook will be shut down at 12.45 hrs for Mail Backup, please save your work till further information" msg smodak /server:smodak.rsr.hngil.com 'Microsoft Outlook will be shut down at 12.45 hrs for Mail Backup, please save your work till further information"
I would like the following: 1. To compile all the process in a single batch file. 2. To SEND a final message after completion of every computer.
Please help.
Regards,
[Swarup Modak]
|