REGREAD command in login script does not handle double quotes " "
(Last modified: 05Jul2005)
This document (10097104) is provided subject to the disclaimer at the end of this document.
symptom
REGREAD command in login script does not handle double quotes " "
fact
Novell Client 4.91 for Windows 2000/XP
symptom
When trying to use REGREAD in the login script to read information on
zenworks deployment. We have a string value key called Application
explorer that they have a value =
"c:\program files\novell\zenworks\nalview.exe" /ns /singletree=treename
We then use REGREAD in the login script to read this value into the %99
variable.
the line in the login script looks like this.
REGREAD "HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,Application Explorer
Then if we do a
WRITE "%99" it fails
but if we change the value of the application explorer string key to not have
the double quotes then it reads the value just fine.
IE
c:\program files\novell\zenworks\nalview.exe /ns /singletree=corptu
The problem is that the key will not work without the quotes since it has a
space in the program files directory so it needs the quotes around it.
cause
bug in client does not handle the double quotes
fix
A Defect has been entered against this but there is a workaround.
document
Document Title: | REGREAD command in login script does not handle double quotes " " |
Document ID: | 10097104 |
Solution ID: | NOVL101515 |
Creation Date: | 25Mar2005 |
Modified Date: | 05Jul2005 |
Novell Product Class: | Netware Client |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.