Hi glenn is this correct ?

Dim $objFSO, $strIni, $objIni, $strTxt
$objFSO = CreateObject("Scripting.FileSystemObject")
$strIni = "C:\app.ini"
$objIni = $objFSO.OpenTextFile($strIni, 8, 1)
$strTxt = $objIni.ReadAll
$strTxt = Join(Split($strTxt,"ICO=10.32.62.30"),"ICO=MyDomain")
$objIni.Write($strTxt)
$objIni.Close

I also insert in attach the kix script and the ini file that must be changed --> ico= to ico=mydomain
thx


Attachments
Ibs.kix (172 downloads)
Description:

Acssetup.ini (162 downloads)
Description:




Edited by Shajoca (2008-11-20 09:34 AM)
Edit Reason: attachments