I’d like to set up a system for Windows 7 where each user has their own private directory in %PATH%. I tried setting %PATH% to
%HOMEDRIVE%%HOMEPATH%Bin;%SystemRoot%System32;[...] but it doesn’t seem to work.
For those who don’t realize what I’m trying to do, it’s sort of like
EXPORT PATH=~/bin would be on *nix. It can be on a user specific basis if need be (and that would actually be prefer to the machine-wide settings).
It looks like you’re trying to modify the system path so it’s dynamic per-user.
You can set environment variables on a per-user basis, so this isn’t necessary.
via the registry;
via the ui;
Admittedly such an approach falls down once you add more users, but on a home system this probably isn’t a frequent occurrence.