scripting to change ip address in xml file
i am packaging an application which hard codes an xml file with my host ip address, i need this to be taken from each machine it is on and not keep my host ip for every machine that installs the software as the program requires the host machines ip.
can anyone advise of a script which will dynamicaly change the ip address in this xml file as i cant find anything anywhere!
Community Chosen Answer
A quick Google search found loads of hits for editing XML with vbscript.
This one gives a good example, you'll just need a bit of code to grab the client IP address from your target machine so that it can be written to the XML file.
Hope that helps,