if the extension doesn't mater u sould use just /write
I nothing found in the help file thet says use writeini for every extension
all i found is /writeini -n <inifile> <section> <item> <value>
Writes to files in the standard INI file format.
i also think the file sould be a standart ini format if you want use n0=, n1= etc else would be just write the best sulotion in my option
if i am wrong prove it pls!
EDIT:
I actuali test it and the extesion dosen meader but i am not sure if this is the right way