Archive: FileJoin to the beginning


FileJoin to the beginning
Hi, I use this very useful funtcion from Instructor:

http://nsis.sourceforge.net/FileJoin

I use it like this:

${FileJoin} "$INSTDIR\file1.txt" "$INSTDIR\addthis\file2.txt" "$INSTDIR\file1.txt"


Now I have only one problem and question. When I join file2 to file1 the content of file2 is at the end of file1.

Is it possible that the content is at the beginning from file1?

Thank you

${FileJoin} "$INSTDIR\addthis\file2.txt" "$INSTDIR\file1.txt" "$INSTDIR\file1.txt"
:)

OH^^ easy ;)

Thanks


Quote:




It is possible to insert a file into another but not the end nor the beginning but after a certain character or string or tag?

Originally posted by Instructor
${FileJoin} "$INSTDIR\addthis\file2.txt" "$INSTDIR\file1.txt" "$INSTDIR\file1.txt"
:)