How to write out special character.
Hi every body,
I have one problem with Install program. I have tried a lot but i can't solve it; I need helping.
My problem is:
In my install script i uses "XML.DLL" plug-in to access ".xml" file. The code is:
xml::LoadFile /NOUNLOAD "$INSTDIR\Config.xml" .r0
xml::CreateNode /NOUNLOAD "<DataPath>M:\M&V\Data</DataPath>" .R0
xml::FindNextElement /NOUNLOAD "ProjectfilePath" .r0 .r1
xml::ReplaceNode /NOUNLOAD "$R0" .r0
xml::SaveFile "$INSTDIR\Config.xml" .r0
i want to set node <DataPath> with the value is M:\M&V\Data but the problem occur with the result. The character "&" can not be appeared in the result.
The result is : M:\MV\Data
I don't know how to write the character "&" output. I have try to use $\&, &, hexa code ... but it still disappeared.