ScriptSpot home

Forum topic · General Scripting

How to rename INI section?

By ravihara · 2013-09-11

Description

I have successfully done adding, deleting and all sorts of things but not renaming a section in a INI file. how can we rename a section in a INI file using maxscript?

Comments (2)
miauu

.

1.Get the values in the section, that you want to rename.
2.Delete the section
3.Create new section with new name and add values from the deleted section.