For my query I have used the below query
// store the file location
parameter āfilenameā = āC:\Users\IBM_ADMIN\Desktop\install_config.txtā
//Prompt the window
//action parameter query āQRadarā with description " IP of the server: "
//Test appendfile
//appendfile {parameter āQRadarā of action}
// iterate through the file replacing lines as necessary
appendfile {concatenation ā%0d%0aā of ( if (it starts with āConfigurationServer=ā)then (āConfigurationServer=88.99.33.66ā else it as string) of lines of file (parameter āfilenameā)}
// backup the old file (first delete any old backup files)
delete ā{parameter āfilenameā}.bakā
move ā{parameter āfilenameā}ā ā{parameter āfilenameā}.bakā
// replace with the new file
move __appendfile ā{parameter āfilenameā}ā
the above command is working fine and changing the āConfigurationServer=ā value as āConfigurationServer=88.99.33.66ā
but I need one more request want to edit like below
ā(second line also want to edit the value like āfrom (ConfigurationServerPort=2222) to ConfigurationServerPort=3333ā)ā
is there any parameter(and, or, if) have to use,
please suggest me on the same,
Thanks,
Nagaraj,