es admin privileges):
<P>
<PRE>set regPath [join {
    HKEY_LOCAL_MACHINE
    SYSTEM
    CurrentControlSet
    Control
    {Session Manager}
    Environment
} &quot;&#92;&#92;&quot;]
set curPath [<B>registry get</B> $regPath &quot;Path&quot;]
<B>registry set</B> $regPath &quot;Path&quot; &quot;$curPath;$addPath&quot;
<B>registry broadcast</B> &quot;Environment&quot;</PRE>
<P><DT><A NAME="M6"><B>registry delete </B><I>keyName</I> ?<I>valueName</I>?</A><DD>
If the optional <I>valueName</I> argument is present