Salta al contenuto principale

Pre/Post commands give error 1, backup does not start

Thread needs solution

Hi,

I am trying to cope with a restriction of the *.tib files, so I decided to try the pre/post commands offered by ATI 2020 in the advanced tab.

When I processed the bat file I created in a dos box(w/admin priv) the commands worked perfectly. However, when running the same .bat file in the pre or post command section, ATI reports error 1. 

Here is the content of POST processing:

for /r %x in (*.tib) do ren "%x" *.tib.bkup

this renames all the .tib files to tib.bkup

PRE processing does the opposite:

for /r %x in (*.tib.bkup) do ren "%x" *.tib

 

Again, both batch files run perfectly in a dos box, but not in ATI.

Any ideas, suggestions?

 

 

0 Users found this helpful

Do you have Acronis Active Protection enabled as this may prevent the batch script from renaming the .tib files?

When the MVP's have looked at this type of operation in the past, then it was necessary to use an executable, i.e. a small program that could then be excluded from AAP for when used in a Pre / Post command setting.