Re: [NTG-context] Update setpath to set the path

2021-05-10 Thread Hans Hagen
On 5/10/2021 9:18 AM, Thangalin wrote: One of the benefits of context minimals is that you can install multiple versions in parallel, which allows the user to update frequently without the risk of breaking something for long-term projects. Specifically, you can keep a "frozen" ve

Re: [NTG-context] Update setpath to set the path

2021-05-10 Thread Thangalin
> One of the benefits of context minimals is that you can install multiple > versions in parallel, which allows the user to update frequently without > the risk of breaking something for long-term projects. Specifically, you > can keep a "frozen" version of context for long-term projects and instal

Re: [NTG-context] Update setpath to set the path

2021-05-10 Thread Aditya Mahajan
On Sun, 9 May 2021, Thangalin wrote: > Thoughts on updating the setpath.bat file to persist setting the path? > > Here's an updated version that sets the system environment variable while > preserving the existing unexpanded PATH value: > > [] > > The reason for this change is because the W

Re: [NTG-context] Update setpath to set the path

2021-05-09 Thread Thangalin
Here's a version that persits the current user's PATH (i.e., not system-wide): rem SOF @echo off set "OWNPATH=%~dp0" set "PLATFORM=mswin" if defined ProgramFiles(x86)set "PLATFORM=win64" if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set "PLATFORM=win64" if exist "%OW

[NTG-context] Update setpath to set the path

2021-05-09 Thread Thangalin
Thoughts on updating the setpath.bat file to persist setting the path? Here's an updated version that sets the system environment variable while preserving the existing unexpanded PATH value: rem SOF echo off set OWNPATH=%~dp0 set PLATFORM=mswin if defined ProgramFiles(x86)