#158578 - 2006-03-0906:22 AMRe: Change text string in multiple INI files
NTDOCNTDOC Administrator
Registered: 2000-07-28
Posts: 11631
Loc: CA
Okay, here is some SILVER PLATTER code for you to run Rich.
Requires KiXtart 4.5 or newer, and does not support NT4. Should work fine on 2000/XP/2003 systems.
Please read the notes within the code on how to use it, and post any questions or comments you have.
Normally one would place the $sComputer parameter first in the UDF, however due to the way that Optional works in KiXtart anything after the word Optional becomes optional so I placed the $sComputer at the end since it is the only optional parameter depending on how you run it. If you run it against a lot of computers then it's not optional really, but if you run it while locally logged on then it's optional and does not need to be supplied.