This file does exists
$(_USTN_USER)$(USERNAME)/hbc.upf)
This:
%if exists ($(_USTN_USER)$(USERNAME)"/hbc.upf")MS_UserPREFSEED = ($(_USTN_USER)$(USERNAME)/hbc.upf) %elseMS_UserPREFSEED = ($(_USTN_USER)/hbc.upf)%endif
or this
%if exists ($(_USTN_USER)$(USERNAME)/hbc.upf)MS_UserPREFSEED = ($(_USTN_USER)$(USERNAME)/hbc.upf) %elseMS_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?
Do you need the () around variable definition? For example: instead of MS_UserPREFSEED = ($(_USTN_USER)$(USERNAME)/hbc.upf) try MS_UserPREFSEED = $(_USTN_USER)$(USERNAME)/hbc.upf
I think the issue is in the following line:
%if exists ($(_USTN_USER)$(USERNAME)/hbc.upf)
All the examples for use in the configuration files look to see if a variable exists not to see if a file exists on the network. What I am trying to do is set the upf seed file to a specific file if it exists on the network otherwise I want the upf seed file set to else statement.
I have not had any luck with checking to see if a file exists on the network to set the upf file.
Roland
V8i SS4 v.08.11.09,829AECOsim BD V8i