Configuraton %if (file exists)

This file does exists

$(_USTN_USER)$(USERNAME)/hbc.upf)

This:

%if exists ($(_USTN_USER)$(USERNAME)"/hbc.upf")
MS_UserPREFSEED =  ($(_USTN_USER)$(USERNAME)/hbc.upf)
%else
MS_UserPREFSEED = ($(_USTN_USER)/hbc.upf)
%endif

 

or this

%if exists ($(_USTN_USER)$(USERNAME)/hbc.upf)
MS_UserPREFSEED =  ($(_USTN_USER)$(USERNAME)/hbc.upf)
%else
MS_UserPREFSEED = ($(_USTN_USER)/hbc.upf)
%endif

 

$(_USTN_USER) = Q:\workspace\users\

$(USERNAME) = h1234

if  Q:\workspace\users\h1234\hbc.upf exists why does the if statements above not set MS_UserPREFSEED = Q:\workspace\users\h1234\hbc.upf

Any ideas would be appreciated?

 

 

Parents Reply Children