Save folder options button

i want to make a button to be able to save folder options without going into that dialog.
thats the function i mean:

there is one to save the lister layout but i couldn't find a command for this. did i just not find it or is that impossible?

As far as I know, there isn't a command for that at the moment, sorry.