Repeating "vi" ex-editor 'command mode' commands

Hi,

How to repeat the command which we typed and executed inside the "vi" editor 'command mode' (will be get by pressing "ESC" and ":" keys), since it cannot be repeated using the "." key?

Because I'm typing the lengthy command at the command mode and do not know the way to repeat it often. Your help is appreciated.