Aller au contenu principal

Executing Batch-File with timeout functionality as pre-command

Thread needs solution

Hey Guys,

i'm having a problem with Acronis to get a batch-file working with following content:

Acronis_Batch_Fehler.png

 

I want to execute this Batch-File via Acronis as pre-command to force the system to wait for a specific time before the recovery process will begin. Outside of Acronis the file is working, but when i'm testing it as you can see on the picture it fails.

Thanks in advance for your help!
Julian

0 Users found this helpful

Julian, try changing your wait.bat to wait.cmd then retry the Pre Command. 

2018-04-06 18_28_42 Wait Pre Cmd.png

My wait.cmd file just had 2 lines:

@echo off
timeout /t 10 /nobreak > NUL