<div>FileList>>#initialDirectoryList is method to handle this stuff. It should read <font style="font-family:monospace">#root</font><u><strong><font style="font-family:monospace">s</font></strong></u>.</div><div>On Windows there are multiple roots aka. drives.</div><div>Do I get this right, <font style="font-family:monospace">#roots</font> is the initial value, and<font style="font-family:monospace"> #(roots image vm current)</font> are the possible values?</div><br><div>Yes the implementation makes use of the run-time type information, if it's not symbol, it's a set of directory entries.</div><div>Imagine a windows computer with two local drives and a remote drive, You can define both local drives as roots,</div><div>thus ignoring the remote drive. On a Unix system you may add your Cuis working directory and perhaps some assorted</div><div>other directories, probably from your Cuis git workspace.</div><br><div>I hope this clarifies it. I had to look at the code to remember what I intended with that implementation.</div><br><br><div>HTH,</div><br><div>Gerald</div><br><div class="gmail_quote_attribution">On May 7 2022, at 10:22 pm, Hilaire Fernandes via Cuis-dev <cuis-dev@lists.cuis.st> wrote:</div><blockquote><div> </div><div><div><font size="4">Ok. In that case, I think the type for #initialFileListDirectories could be</font></div><div><font size="4">#(root image vm current misc) where #misc means the preference value is a DirectoryEntry instance. Most of the behavior will have to be move to FileList though, but you will just need to adjust as:</font></div></div><br><div><div><font size="4">PreferenceNG at: #initialFileListDirectories put: '/tmp/' asDirectoryEntry</font></div><div><font size="4">PreferenceNG at: #initialFileListDirectories put: #root</font></div></div><br><div><font size="4">Will it do it?</font></div><br><div><font size="4">Hilaire</font></div><br><div><br></div><br><div class="moz-cite-prefix"><div>Le 07/05/2022 à 19:06, Gerald Klix a écrit :</div></div><blockquote><div>Works for me, that means works in Haver.</div><br><div class="gmail_quote_attribution">On May 7 2022, at 7:03 pm, Gerald Klix via Cuis-dev <a href="mailto:cuis-dev@lists.cuis.st" title="mailto:cuis-dev@lists.cuis.st"><cuis-dev@lists.cuis.st></a> wrote:</div><blockquote><div>Probably broken. I will investiage.</div><br><div class="gmail_quote_attribution">On May 7 2022, at 6:41 pm, Hilaire Fernandes via Cuis-dev <a href="mailto:cuis-dev@lists.cuis.st" title="mailto:cuis-dev@lists.cuis.st"><cuis-dev@lists.cuis.st></a> wrote:</div><blockquote><div> </div><div><div><font size="4">Hi,</font></div></div><br><div><div><font size="4">For the FileList tool there is this #initialFileListDirectories preference. It can accept symbol as #root, #image, etc or a Set with DirectoryEntry (?). This is not uniform type.</font></div></div><br><div><div><font size="4">For now I implemented this preference as below:</font></div></div><br><div><font size="4">#(initialFileListDirectories #roots #(root image vm current) )</font></div><br><div><div><font size="4">I understand this preference is used with FileList to change the initial directory. I try to use the feature for an arbitrary initial directory without success (image locked)</font></div></div></blockquote></blockquote></blockquote><code><pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em">-- <br>GNU Dr. Geo<br><a href="http://drgeo.eu" title="http://drgeo.eu">http://drgeo.eu</a><a href="http://blog.drgeo.eu" title="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre></code><div>--</div><div>Cuis-dev mailing list</div><div>Cuis-dev@lists.cuis.st</div><div>https://lists.cuis.st/mailman/listinfo/cuis-dev</div></blockquote>