How to create keyboard shortcut for saving folder format?

how to create keyboard shortcut for saving folder format???

The Set FORMAT=... command can do that.

Set SAVEFORMAT=folder or Set SAVEFORMAT=folder,replace may be what you want. See the documentation for what the different options are:

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Set.htm