hi,
my need is to find a string in a file (named file1) and substitute that string (string to substitute is testtest/) with all content of another file (named file2) and create a new file (called file3)
what i've done is :
%SED% -e "s/"test1/"//C:\User\file2" c:\User\file1 > C:\User\file3
but what i get is only susbtitution of test1\ with the path of file 2, not the content.
How can i solve?
i've also tried to use get-content in powershell but it not integrate well with my final.exe file remaining powershell append or getting error "cannot load module PSReadline console without PSReadline." so I think it is better to use SED
Thanks for your preciuos support