Create a shortcut to cod2mp.exe and change the shortcut target to:
"path_to_your_cod2_and_mp_exe" +set dedicated 2 +set fs_game yourmodsfolderhere exec server.cfg +map_rotate
fs_game is one of the folder in path_to_your_cod2 e.g. "C:\Program Files\Activision\Call of Duty 2\yourmodsfolderhere".