I need to write a registry value name that has a '\' in it but this is interpreted as a key. How do I get around this?
ValueName ="CN=User\, Test1,OU=Users.,OU=Departments,DC=ni,DC=ad,DC=newsint"
oShell.RegWrite "HKCU\Software\App" & ValueName, vbNullString, "REG_SZ"
...creates a new key under "App" called "CN=User", with a value of ", Test1,OU=Users.,OU=Departments,DC=ni,DC=ad,DC=newsint".
There must be an easy way around this! All help appreciated, thanks