I have my .sb5 file all set and it compiles within SB5. Is it possible to compile from the command line?

I need to pre-prepare several files that are included in the setup, it's easier to write a batch file and have it do everything rather than remembering to prepare the files manually before compiling the setup.

Many thanks.