Skip to main content

Problem with custom command before backup

Thread needs solution

Hello,

To backup my PC, I want use a network target drive monted on NAS, but it is possible that the NAS was down. So I wakeup the NAS and need waiting about 2 minutes before launching backup. I have wrote a .cmd file :

------
"C:\Program Files (x86)\Dipisoft\WakeOnLan\WakeOnLanBatch.exe" /w:nas-mage
choice /T 125 /D O
------

If I launch this .cmd file from windows it work correctly and the NAS run.

If I launch this .cmd file from ATI (custom command before backup), I have the message : The specified configuration file cannot be found.

In ATI I have specified as working directory, in first the directory that containt the .cmd file, also with C:\Program Files (x86)\Dipisoft\WakeOnLan directory, I have always the same error.

Thank you in advance for your help.

0 Users found this helpful

Do not use the actual command inside the TI pre-command
Put your commands inside a batch file and save the file as a cmd file.

Start Notepad with admiin rights and paste the commands inside notepad.
Save the file as a cmd file.
Use the TI Pre/post pre command and use the program to browse and find the newly saved cmd file.
Do not type the path. Let the program find and configure its own path via the pre command edit mode.