Running a Compiled Model File with the COMSOL Batch Command To run the file, enter <COMSOL path>\bin\win64\comsolbatch -inputfile feeder_clamp.class on Windows, or enter <COMSOL path>/bin/comsol batch -inputfile feeder_clamp.class on Linux and Mac, where <COMSOL path> is the COMSOL Multiphysics installation directory.