There are mutliple paths for exporting WWMT models and textures. To have full control of QC commands and the compression, shader and other settings, open a model with Wall Worm Model Tools.
You can also use batch export functions via the Wall Worm Exporters sub-menu in the Wall Worm menu in Max. There are also batch exporting functions in the Models tab of Anvil.
See below for more specific exporters and instructions.