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?
what does a DEBUG show ?
Timothy Hickman
CADD Manager | CADD Department
timothy.hickman@colliersengineering.com
Main: 877 627 3772|
1000 Waterview Drive Suite 201 | Hamilton, New Jersey 08691
Tim can you tell me which syntax to use.
%if exists ($(_USTN_USER)$(USERNAME)"/hbc.upf")
or
%if exists ($(_USTN_USER)$(USERNAME)/hbc.upf)
Then I will do a debug. It seems that the end result is always my last line in the if statement.
Roland
V8i SS4 v.08.11.09,829AECOsim BD V8i
the double quotes you have in the first line are not needed so I would go with the second line you have.
Tim,
Thanks for your input. I was able to get the syntax working as expected. It helped to change one of the hbc.upf to hbc1.upf. I then search all my config files for MS_UserPREFSEED and made sure that it was set only in my site.cfg file. I change the syntax to the following:
%if exists ($(_USTN_USER)$(USERNAME)/hbc1.upf)
MS_UserPREFSEED = $(_USTN_USER)$(USERNAME)/hbc1.upf
%else
MS_UserPREFSEED = $(_USTN_USER)/hbc.upf
%endif
I have been working on this issue when time permits for sometime. Thank you so much!
Answer Verified By: Roland