View Single Post
  #1  
Old December 2nd 18, 02:35 PM posted to microsoft.public.windowsxp.general
R.Wieser
external usenet poster
 
Posts: 1,302
Default Registry: How ro create a REG_EXPAND_SZ default(!) string ?

Hello all,

Sometimes I use regedit to create new keys. Those keys always come with a
"(default)" string of the type REG_SZ. How can I change these strings, in
regedit, into a REG_EXPAND_SZ one (as is often needed with an HKCR -
{app} - "shell" - "open" - "command" entry) ?

Remark: For a non-default string I resorted to copying the data into the
clipboard, delete the key, recreate it as another type and paste the data
into it again, but that does not work for the default string.

I do have a work-around by which I create a temporary REG_EXPAND_SZ entry,
fill it with data, export it, rename the string in the REG file, import it
again and than remove the temporary entry - which I would really like to get
rid of.

Regards,
Rudy Wieser


Ads