Why not just load and save the ini file into a hash table using /hload -i and /hsave -i ?