Re: How much text can go into a registry variable?

  • From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 19 Oct 2007 00:43:38 +0100

I'm not 100% sure, but I think this article:

says that the maximum size for all the values of one registry key is 64 kilobytes. The article also contains links to articles showing how to use both VBScript and WMI to read and write to the registry.



----- Original Message ----- From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Thursday, October 18, 2007 10:48 PM
Subject: How much text can go into a registry variable?

I have a long list of urls, that I'm currently saving into a key in the registry. However, urls are being added to this list all the time, and the string within my History variable is expanding rapidly.

For instance, the list is currently being saved under Software\MyApp, under the variable name History

I wouldn't want to break the registry though if there is a string size limit, so thought it might be best to ask, since this list is contained within one string.


View the list's information and change your settings at //

Other related posts: