Firstly please excuse my igonorance windows scripting is not my strong point :)
I am trying to script an install of Teradata odbc, the install needs to be located in in D:\Program Files not C:\Program Files (All application specific installs need to be located in D:\Program Files).
When i use the following code:
SET MSG=Running an install of Teradata GSS Client 64-bit
%SOURCEDIR%\FILES\TeraGSS__windows_x8664.13.00.00.00\setup.exe /S "/v/qn %INSTALL_64%"
IF %ERRNUM% EQU 3010 SET ERRNUM=0
IF %ERRNUM% NEQ 0 GOTO ERROR
The Set INSTALL_64=INSTALLDIR="D:\%PROGRAMFILES%" command seems to try and set the INSTALL_64 to D:\C:\Program Files............Is there a way I can set %PROGRAMFILES% to D:\Program Files???