Starting with Tcl 8.0 you can use the registry package on Windows to access the registry.
This package is only available on Windows.
Note that the registry uses backslashes as separators and that Tcl treats a backslash as a special character. For example:
package require registry
registry keys "HKEY_CLASSES_ROOT\TclScript\shell"