<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Configuration Variable Period</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/archived-microstation-v8-2004-edition-programming-forum/36961/configuration-variable-period</link><description>Anyone use the double period when working with configuration? ... For example ../ or /.. and also the single period for example C/mypath/. Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/82187?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2009 17:52:34 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5bba7ec2-f27e-4d39-8403-7617922aa8af</guid><dc:creator>Volker H&amp;#252;fner</dc:creator><description>I think this is not a Ustn Problem, but an OS one. You may enter &amp;quot;Dir J:\99999\..\tretert\&amp;quot; or &amp;quot;dir J: \tretert\&amp;quot; in a shell - it leads to the same result.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/82135?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2009 10:19:09 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:391f8321-161b-4886-b8ad-b8aac46be7fc</guid><dc:creator>Thex1138</dc:creator><description>&lt;p&gt;
I'm just wondering how MS finds the destination path, behaviourally,&amp;nbsp;if it does not know the inbetween heirarchy... or does MS just keep searching up the tree until it finds the first 'matching' path and use that?
&lt;/p&gt;
&lt;p&gt;
Anyway if it doesn't work I'll scrap it. 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/82060?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 22:15:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b279b98c-c187-4c29-b20c-eb10ce818aef</guid><dc:creator>Volker H&amp;#252;fner</dc:creator><description>&lt;p&gt;
&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://communities.bentley.com/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Thex1138:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Results in..J:\99999\..\tretert\&lt;/div&gt;&lt;/BLOCKQUOTE&gt;
&lt;/p&gt;
&lt;p&gt;
BTW: This is a valid path, maybe not the shortest possibility, but it works. &lt;br /&gt;
Sometimes it could be easier to define a help-variable with a root path. At least there are many good possibilities to work with. 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/81990?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 16:57:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f50e7041-a2ea-4ce1-8463-4672311a1307</guid><dc:creator>Ivo Blaauw</dc:creator><description>&lt;p&gt;
MS_CELLLIST : Cell files shown in the Cells dialog pull down menu.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;_DGNDIR: This is the folder in which the current file resides. This off course is can be different each time you open a file. 
&lt;/p&gt;
&lt;p&gt;
&amp;gt; : Add a value/setting to existing values. 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
MS_CELLLIST &amp;gt; $(_DGNDIR)*.cel&amp;nbsp;&amp;nbsp; #find Cell-libraries in the current folder. Put a Cell file in the folder you're working in, and you'll never have to search for these cells. 
&lt;/p&gt;
&lt;p&gt;
MS_CELLLIST &amp;gt; $(_DGNDIR)../*.cel&amp;nbsp;&amp;nbsp; #find Cell-libraries one level higher then the current folder. So you'll still find the cells, even when working in a subfolder. 
&lt;/p&gt;
&lt;p&gt;
MS_CELLLIST &amp;gt; $(_DGNDIR)../../*.cel&amp;nbsp; # Same story... now applicable when working in a sub-sub-folder. Same works for MS_DGNLIBLIST &amp;gt; $(_DGNDIR)../*.dgnlib&amp;nbsp;&amp;nbsp; #find DGNLIB in a higher folder. 
&lt;/p&gt;
&lt;p&gt;
In these previous cases, the libraries can be added to the folder, without having to restart Ustation. However, linestyle resources do not allow to be read this way, from a flexible location.
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description><enclosure url="https://communities.bentley.com/cfs-file/__key/telligent-evolution-components-attachments/00-163-01-00-00-08-19-90/Configs.PNG" length="10225" type="image/x-png" /></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/81984?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 16:16:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:db5de3c5-57ea-494d-885a-05d2e9c89ca9</guid><dc:creator>Thex1138</dc:creator><description>&lt;p&gt;
Thanks all for your replies!
&lt;/p&gt;
&lt;p&gt;
I have an extensive set of documents on pre-processor directives which I am familiar with including 'pardir'
&lt;/p&gt;
&lt;p&gt;
.... and then I saw the '..\' '..\..' and '\..'&amp;nbsp; in a recent post and I have tried to implement them, as well as the single '.' in some configuration syntax.
&lt;/p&gt;
&lt;p&gt;
So I am learning about them and how I can use them effectively.
&lt;/p&gt;
&lt;p&gt;
Cheers
&lt;/p&gt;
&lt;p&gt;
/Rob
&lt;/p&gt;
&lt;p&gt;
P.S. Ivo, what resulting config variable value do you get from those directives? 
&lt;/p&gt;
&lt;p&gt;
&amp;reg; 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/81973?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 14:57:55 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:bc4ea554-251b-4434-a3f5-608c449b724d</guid><dc:creator>Ivo Blaauw</dc:creator><description>&lt;p&gt;
I use these settings to have libraries at hand in my project directory, even when working in subfolders.
&lt;/p&gt;
&lt;p&gt;
MS_DGNLIBLIST &amp;gt; $(_DGNDIR)*.dgnlib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #find DGNLIB in current folder.&lt;br /&gt;
MS_DGNLIBLIST &amp;gt; $(_DGNDIR)../*.dgnlib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #find DGNLIB in a higher folder.&lt;br /&gt;
MS_DGNLIBLIST &amp;gt; $(_DGNDIR)../../*.dgnlib&amp;nbsp; #find DGNLIB in a even higher folder. 
&lt;/p&gt;
&lt;p&gt;
MS_CELLLIST &amp;gt; $(_DGNDIR)*.cel&lt;br /&gt;
MS_CELLLIST &amp;gt; $(_DGNDIR)../*.cel&lt;br /&gt;
MS_CELLLIST &amp;gt; $(_DGNDIR)../../*.cel 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/81972?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 14:52:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:45cbd91b-5cd2-4621-9332-c5e59fd84eec</guid><dc:creator>Phil Chouinard</dc:creator><description>&lt;p&gt;
Just curious, but have you looked into configuration file preprocessor directives?
&lt;/p&gt;
&lt;p&gt;
[edit: What Michael identified... :)]
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/81971?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 14:50:18 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3a748477-c878-4faf-ae2a-4120c9f7b1e7</guid><dc:creator>Michael Stark</dc:creator><description>&lt;p&gt;
better use {parentdevdir $(A123456789)}tretert/
&lt;/p&gt;
&lt;p&gt;
not sure if we used&amp;nbsp; ../ ever, but changed our customers configs to use the parentdevdir variant.
&lt;/p&gt;
&lt;p&gt;
HTH Michael
&lt;/p&gt;
&lt;p&gt;
PS: maybe you need to evaluate the content of A111111 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/81955?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 12:30:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a6b05208-3a4d-411d-b89b-1d6facb5f009</guid><dc:creator>Thex1138</dc:creator><description>&lt;p&gt;
I tried a couple of variations of this but don't get the right result...
&lt;/p&gt;
&lt;p&gt;
A123456789 = J:/99999/&lt;br /&gt;
A111111 : $(A123456789)../tretert/
&lt;/p&gt;
&lt;p&gt;
Results in..
&lt;/p&gt;
&lt;p&gt;
J:\99999\..\tretert\
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Configuration Variable Period</title><link>https://communities.bentley.com/thread/81952?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 12:13:40 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5170a0b4-c46b-4fc7-9cff-cceb244709ec</guid><dc:creator>Volker H&amp;#252;fner</dc:creator><description>&lt;p&gt;
Bentley does :)
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;i.e.&amp;nbsp; ...\TriForma\config\appl\intmgr.cfg&lt;br /&gt;
Line  72 - IFM_CONFIG      :   $(TFDIR_MDLAPPS)../config/&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>