I am preparing a set of instructions for automating an installation of some application on our team's computers and as part of that automation I need to add User Environment Variables and System Environment Variables. We are using both Windows XP and Windows 7
I wanted to do it using a *.reg file that will add these variables. So I have several questions:
Is the following correct for User Environment Variables:
[HKEY_CURRENT_USER\Environment]
 "TEST"="ABC"'
Is the following correct for System Environment Variables:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
 "TEST2"="XYZ"'
What is the difference between:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
 and [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment] 
I want to update the PATH environment variable, can I do something like:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
 "PATH"="C:\temp\;%PATH%"'
Thanks.