<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Philip Taylor wrote:<br>
<blockquote type="cite" cite="mid:2311b998-e2e2-f262-813b-e6c84ff7ed4e@Rhul.Ac.Uk">
With the greatest respect, Siep, "sense" would indicate exactly the opposite — one would
<i>expect</i> an executable image to honour parameters , while equally expecting a batch file to ignore them.
But it turns out that things are even more complex. Let there be, in a given directory, "install-tl-windows.exe", "install-tl-windows.bat", & "install-tl-windows.cmd". Then what should a user expect if he or she types :<br>
<li>install-tl-windows -select-repository </li></ul>
<p>The answer, it transpires, depends on the current value of his/her "PATHEXT" environment variable. Mine is set to :<br>
<p>so in my case, "install-tl-windows -select-repository" selects the executable image and the "-select-repository" qualifier is ignored. Another user might have (for example) :<br>
<p>and so if he/she were to type :<br>
<p>his/her "-select-repository" qualifier would be honoured and he/she would be offered the choice of installing from a local repository. Given the enormous uncertainty as to the actual effect of
<p>in any given situation, I now believe more strongly than ever that having "install-tl-windows.exe" & "install-tl-windows.bat" in the same directory is sheer folly.</p>
<p>This email, its contents and any attachments are intended solely for the addressee and may contain confidential information. In certain circumstances, it may also be subject to legal privilege. Any unauthorised use, disclosure, or copying is not permitted.
If you have received this email in error, please notify us and immediately and permanently delete it. Any views or opinions expressed in personal emails are solely those of the author and do not necessarily represent those of Royal Holloway, University of
London. It is your responsibility to ensure that this email and any attachments are virus free.</p>