I would like to shut down Windwos after backup the mails. EM Client does not offer this possibility.
I can see the parameters for the backup via the Windows task scheduler.
I would like to create a batch file to create the backup and shutdown Windows afterwards.
Unfortunately the path + parameters does not work in a batch file.
Can someone tell me the correct command for the batch file that I can use to start the backup?
Sorry for my english.
Try this in the batch file:
"C:\Program Files (x86)\eM Client\MailClient.exe" /dbbackup -backup
or this if eM Client is closed and you don’t want to see the progress bar:
"C:\Program Files (x86)\eM Client\MailClient.exe" /dbbackup -backup -silence
Thank you very much. This works great.
Now I only have the problem that the following command “shutdown -s -f” is executed immediately.
How can I wait until the backup is complete before he shuts down Windows
This may help:
If it doesn’t apply/solve exactly, at least you’ll have some info to proceed with investigating or testing.
StackExchange is also a good site in which to go digging/searching.