Pre/post command problem

I am having a strange problem running a pre/post command in ATI.
I have a folder named "Validation" that I've put on 4 drives - 2 internal drives, an external (USB-attached) drive, and in a NAS share. The folder contains 2 files:
- Integrity_check.txt
- Integrity_check.bat.
The bat file contains the single line:
dir Integrity_check.txt || exit /B 1
I specify
Command:
C:\Validation\Integrity_check.bat
Working directory:
C:\Validation
That works for drives C & D (my internal drives), and F (my external drive), but it does not work for Z (my NAS share). For the NAS I have to specify a blank working directory and put the directory in the ,bat files's command:
dir Z:\Validation\Integrity_check.txt || exit /B 1
Is this intended behavior or have I run into a bug?


- Se connecter pour poster des commentaires
En réponse à Patrick, am I understanding… par truwrikodrorow…

Sorry, I wasn't very clear. Yes, changing the drive letter:
Command:
D:\Validation\Integrity_check.bat
Working directory:
D:\Validation
etc.
It works as I expected for drives C, D, and F. For Z I had to specify the drive and directory in the batch file ... and I had to remove the "Working directory" specification from the ATI definition. The command would fail if I specified a Working directory of "Z:\Validation".
And I forgot to mention that the Test button would indicate success; the command would fail only when executed as part of the schedules backup process. Unfortunately, ATI didn't say why it failed.
- Se connecter pour poster des commentaires