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?
I am having the same issue with SS3. I using $(username) in a similar way and it wont load the file specified in %include. I wonder if the system variable $(username) was changed to something else.
try this:
To check the value of a configuration variable, key in EXPAND ECHO $(<configuration_variable>)
Roland
V8i SS4 v.08.11.09,829AECOsim BD V8i
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
Try switching your slashes see below
$(_USTN_USER) = Q:/workspace/users/
This worked for me.
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.