i have a file named “abc.ini” with contents like this:
;------------------------
; this file is a reffernce file
; you will get server path as below
admin_folder=E:\Temp\utils_630\admin**
VERSION=630
PORT=6304
IP of server=10.9.23.64
here i need to replace utils_630 to utils_640
i am using the script to replace it.
But in output i am not getting the ; at the beginning of the lines as it is in the original file.
i need the file as it is with the required string replaced.
Any help on this will be appreciable.Thanks in Advance!!!!!!!!!
semicolons are the starting of line and 4th line starts with admin_folder.
Here you go