@cadffm :
I browsed through the registry for 2002 and found...
(defun c:CLW ()
(foreach Name '("CmdLine.Rows" "DockWindow.Position" "DockWindow.Style" "TextWindow.Position" "TextWindow.Show")
(print (vl-registry-read (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\FixedProfile\\Command Line Windows") Name))
)
(princ)
)
which returns (with my window undocked):
24
"10 741 1590 823"
2
"427 183 1173 670"
1
What bothers me is that I had to type in all those names. My 2002 help says:
"(vl-registry-read reg-key [val-name])
Arguments
reg-key
A string specifying a Windows registry key.
val-name
A string containing the value of a registry entry.
If val-name is supplied and is not nil, the specified value will be read from the registry. If val-name is absent or nil, the function reads the specified key and all of its values."
Yet when I try (vl-registry-read (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\FixedProfile\\Command Line Windows"))
it returns nil.
You should try it in a newer release.