On 7/15/25 00:07, Bruce Horrocks wrote:
>> […]
>>  c:\context\tex\texmf-win64\bin\context.exe
> 
> Earlier, when you ran the `icacls` command, you ran it against "c:
> \new\tex\texmf-win64\bin\mtxrun.exe" and "c:\old\tex\texmf-
> win64\bin\mtxrun.exe". The output given by the where command is
> neither of those.

Sorry, Bruce, this has to do with the way I manage different ConTeXt
versions in Windows (and in Linux before, but that is irrelevant here).

I only have `c:\context\tex\texmf-win64\bin\` added to `%PATH%` (no
other ConTeXt-related path is part of `%PATH%`).

Experience has taught me to backup previous versions, since I may have
issues with newer ones (and after all I’m in production [so to speak]).

So I have right now:

  1. `c:\context\`.
  2. c:\context - copy X\ (where copy is from 1 up to 17).
  3. `c:\context-32\`.

#3 was only required while my system denied access to current latest
win64 binary (SHA512 starting with 831e6fdd20ef3…). This also required
an extra `c:\context\tex\texmf-mswin\bin\` added to `%PATH%`.

In fact, since latest win64 binaries seem to work on my OS, I have
removed `c:\context-32\` (although I keep the extra path untill I update
at least one more time without glitches).

To change versions, I use the file browser to change the relevant folder
name to `context` only.

My update procedure (not exactly rocket science, but it just works):

  1. Go inside `C:\` with the file browser.
  2. Select the `context` folder.
  3. Copy and paste it (`Ctrl+c` plus `Ctrl+v` does the job).
  4. Add the corresponding number after `context - copy`.
  5. Go inside `C:\context\` and double-click on `install.bat`.

BTW, to report here, I renamed `c:\context - copy 17\` to `c:\new\` and
`c:\context - copy 16` to `c:\old\` to make it easier to fit and clearer
to understand.

Sorry for the painful verbose explanation, but I hope it is clear now.

Attached is the output from MSYS2 terminal
(https://www.msys2.org/docs/terminals/#mintty) after I successfully ran
both `context --version` and `luametatex --version` (standard messages,
no "Acceso denegado" message).

Of course, I haven’t changed any ConTeXt-related path starting from the
two commands from previous paragraph (this includes all commands in
attachment).

Sorry for not being completely clear and accurate in my explanations and
many thanks for your help,

Pablo
$ whereis context.exe
context.exe: /c/context/tex/texmf-win64/bin/context.exe

$ which context.exe
/c/context/tex/texmf-win64/bin/context.exe

$ sha512sum /c/context/bin/*.exe /c/context/tex/texmf-win64/bin/*.exe
831e6fdd20ef32c5d8397c6eaa43c6fcf824c4f05720eb0ef9ec40c240de74b33c388d77af06fe59b24f5b548c9a9454a10cbcf0b5c55f5767866c7c99eb016e
 */c/context/bin/mtxrun.exe
831e6fdd20ef32c5d8397c6eaa43c6fcf824c4f05720eb0ef9ec40c240de74b33c388d77af06fe59b24f5b548c9a9454a10cbcf0b5c55f5767866c7c99eb016e
 */c/context/tex/texmf-win64/bin/context.exe
831e6fdd20ef32c5d8397c6eaa43c6fcf824c4f05720eb0ef9ec40c240de74b33c388d77af06fe59b24f5b548c9a9454a10cbcf0b5c55f5767866c7c99eb016e
 */c/context/tex/texmf-win64/bin/luametatex.exe
e156a063e5459a9ad9840d816ba69f9edfc448e71fda15b7d0f392cc9bfd4972e56584f2e874d67ffdf12787c969ae3cbdf5c73554cb1dff8edba518ebb50d81
 */c/context/tex/texmf-win64/bin/luatex.exe
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to