You could resize it using the command you found, and then undo that later via this:
Set FORMAT=!folder`
Slightly improved version of the command from your post (doesn't move the Name column, and completely removes the max limit instead of setting it to a large value):
would the command be equivalent to changing the width of whichever column to autosize? Am I understanding the author correctly as to what he is referring to by double clicking the separator between column headers? Is it possible to create a command that would produce an effect like this to a specific column or whichever column is being focused on? This seems incredibly useful to me now that I am thinking about it.
I'd suggest a slight improvement if you want to use a variable for tracking the state: A global variable isn't the best approach - better use a "src" variable. Otherwise, switching to dual mode or opening another lister will lead to errors.
For me, the update Jon has announced will be the solution.
Yes, the change in 13.6.2 works as described, but sadly it isn't the answer to my original question. The command Set AUTOSIZECOLUMNS=col:name does resize the column, but it still doesn't override the configured max value - it's not the equivalent to a double click on the column divider.
I'll stick with Leo's improved workaround for now.
Of these commands you've posted, can any of them be set to a button where I can toggle autosize on/off
i.e. go autosize, and then toggle back to what it was set before?