Unable to run msi through batch file
I have used below batch command to run a msi;
%systemroot%\system32\msiexec.exe /i C:\Temp\ABC\XYZ.msi /qn
It shows below prompt.
But if I directly execute above MSI it will run. And if I used CMD prompt and change directory to C:\>cd C:\Temp\ABC and then run msiexec command it will run as expected.