Schedule "sleep" after backup completes?

I am looking for a program that will, after Comodo Backup completes a backup, will give me some warning (20 seconds or so) with an option for me to turn it off or it will automatically send my computer to sleep.

Any suggestions? Thanks!


I don’t know about putting it to sleep, but you can make it turn off after a period.

Copy and paste the text between the RED asterisks below into a text file and save it as a .BAT file. This .BAT file can then be set to run after the backup.

@echo off
echo DIR’ing all files on C: drive. Press CTRL-C to continue using the PC.
dir c:*.* /s >nul:
shutdown -h

N.B. In the text above, replace “[at]” with the regular “at” symbol (SHIFT-2).

The above batch file, if invoked after the backup completes, will dor a DIR command on all files in all subdirectories on your C: (all screen output will be sent to NUL: so you won’t see anything happening on screen) and then shutdown the PC.

If you don’t want the PC to shutdown, press CTRL-C while the DIR command is running.

The amount of time it will take to DIR all files will depend on how many files you have on your C: drive.

Hope this helps,
Ewen :slight_smile: