rbhargaw
asked on
No matching % for a variable name, wise script
Hello Experts,
I am getting the following error while compiling WISE Script "No matching % for a variable name"
The error occures at the following line and only when "%" is added
Registry Key Software\Pinpoint\Database =Password%
Can any one let me know how to solve the issue?
Thanks
Roop
I am getting the following error while compiling WISE Script "No matching % for a variable name"
The error occures at the following line and only when "%" is added
Registry Key Software\Pinpoint\Database
Can any one let me know how to solve the issue?
Thanks
Roop
ASKER
This script writes the DSN name , database name, password in the registry and our client server picks the DSN details from registry to connect to database. Now DBA has given me a password which contains "%" in between the password string. So when I modify the password in the wise script and it gives me error
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Bol,
You saved me ..
"%%" worked perfectly. no compilation error occured and registry was updated with only one %
Thanks for the solution.
Roop
You saved me ..
"%%" worked perfectly. no compilation error occured and registry was updated with only one %
Thanks for the solution.
Roop
ASKER
Thanks a lot!
Your welcome! I'm glad I could help. Thanks for the fun question, the grade and the points.
bol
bol
bol