multiple %temp% locations?

  • Thread starter Thread starter charles
  • Start date Start date
C

charles

Is it possible to set the %temp% and %tmp% variables in win2000 to
multiple locations (in case of overflow)? Something like

temp=A:\temp1;B:\temp2;C:\temp3

And where in the registry are these variables held?

Thanks.
 
In said:
Is it possible to set the %temp% and %tmp% variables in win2000
to multiple locations (in case of overflow)? Something like

temp=A:\temp1;B:\temp2;C:\temp3

No. Or not statically anyway. One could possibly make the change
and cause the shell to use it perhaps. And in a CMD session the
environment is a "copy" to start with and may be altered for that
session.
And where in the registry are these variables held?

Discounting the normally unused autoexec.bat and several other
somewhat obscure means along with system-set variables...

Via System Properties, Advanced, Environmental Variables
is the GUI interface. Note that there are "System" (or "machine")
and "User" sections. System values may be overwritten by user
(logon account) values (or in the case of PATH for example, the
data is appended).

System:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\EnvironmentHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Cont
rol\Session Manager\Environment

User:
HKEY_CURRENT_USER\Environment

I'm sure there is a lot more via Google to be had. No links
handy.
 
Back
Top