in reply to Re^4: windows environment variable regression
in thread windows environment variable regression
Because I expect to change the Perl version on a regular basis and I don't want to have to parse PATH to do it.
Then don't. Just install each new version into the same place -- say X:\perl or wherever -- and then you have no need to change or edit or parse the path.
Or, if that is too simple, install new builds into versioned directories and then use:
subst p: X:\path\to\latest\version\of\perl\bin
And have p:\ in your path.
There are many ways to achieve what you want; stop trying to use the one that won't.
|
|---|