In Windows the path environment variable can refer to other environment variables:
However, if I update the path from the command line using SETX, those variables are dereferenced:
setx path %path%
Is there a way to set an environment variable from the command line that allows these references to other variables?