I'm trying to add a registry key using EXEC but the string is to long and only some of it gets written. Is there a better way to add a registry key? or any idea how i can get passed string lenght limit using EXEC.

Thanks...