<div class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">> Am I doing something wrong?<br><br></div>I think the trouble is here:<br><br>join(Name1, Name2) when is_list(Name1), is_list(Name2) -><br> OsType = major_os_type(),<br> case pathtype(Name2) of<br>
relative -> join1(Name1, Name2, [], OsType);<br> _Other -> join1(Name2, [], [], OsType)<br> end;<br><br>because "\\Users\\602382443" is getting a pathtype of 'volumerelative'<br>and should be treated just like 'relative' when Name1 is a drive<br>
reference. If it's not, then I'm not sure what is the right<br>interpretation.<br></blockquote>
<div>Yes I can see why the code does that. This seems rather unintuitive on windows. For now I'll stick to handling it explicitly, but it would be *nice* if the behaviour was unsurprising.</div>
<div> </div></div><br>