ok, i found this thread, and its close to what I am needing, but not exactly.
I have two config files, one old, one new. The old config file will be read (for a specific portion <appsettings> thru </appsettings>
all of the lines in that will be written to a file
then I want to open the NEW config file and delete everything between <appsettings> and </appsettings> and insert the Old settings that now resides in a text file, then save the new config file
Is this possible? I can't quite get it...I guess i don'tunderstand how to write to a specific place in the text/config file (aka between <appsettings> and <appsettings> ONLY)