Oh yeah ... if the switches shall replace the '*'

simply do that :



break on

$string = "C:\WINNT\ISUNINST.EXE '*' C:\PROGRA~1\Citrix\ICACLI~1\Uninst.isu"

$switches = "/i /x /n"

$uString = join(split($string,"'*'"),$switches)

$ustring ?

get $

_________________________