> Home > Configuration for Pre-/Post-command

Configuration for Pre-/Post-command

Pre-/Post-command is a useful feature for those who need to run some application or execute commands (or batch file) before/after backup.

Updated on 2019-05-17 13:25:39

This article applies to:
EaseUS Todo Backup (All commercial versions)

Introduction


Pre-/Post-command is a useful feature for those who need to run some application or execute commands (or batch file) before/after backup.
You may start/stop certain Windows processes or other applications before/after backup procedure.

Example

Shutdown your PC after backup

EaseUSTodo Backup allows to shutdown the PC automatically in one-time operation, such as Clone and Recovery. This feature is not available in Schedule backup, you can do it with Post-command.

1. Click Backup options, switch to Commands page. Then click Edit after Post-command to configure it.


< Screenshot for EaseUS Todo Backup 7.x, 8.x >


< Screenshot for EaseUS Todo Backup 6.x >

2. Use 'shutdown' command to do the job, input it in Command. No need to fill in the Work path for it is a Windows built-in command.


< Screenshot for EaseUS Todo Backup 7.x, 8.x >


< Screenshot for EaseUS Todo Backup 6.x >    

3. The command needs some parameters, '/s' to Shutdown the computer. Sometimes '/f' is needed to force running applications to close without forewarning users.
Tips: To get more details, execute 'shutdown /?' in Windows command line

4. Save the configuration, EaseUSTodo Backup will execute the command after backup and your PC will be shutdown automatically.

Note:
1. Don't set to execute interactive command, for EaseUSTodo Backup will let it run in background. Unless you kill the command process in Windows Task Manager, the application will never start to back up.
2. If you want to execute a batch file or run an application in Command, make sure you have specified the work path of it.