Listing 1: A message control file, containing message templates

; // msg.mc

MessageId=1 Severity=Warning 
SymbolicName=APP_W_INVALID_ARGUMENTS
Language=English
The program was started with invalid command line arguments.
.


MessageId=2 Severity=Informational 
SymbolicName=APP_I_STARTED_COPY
Language=English
Copy of file %1 to %2 has started. 
.

MessageId=3 Severity=Informational 
SymbolicName=APP_I_COMPLETED_COPY
Language=English
Copy of file %1 to %2 was completed. 
.


MessageId=4 Severity=Error SymbolicName=APP_E_COPY_FAILED 
Language=English
Copy of file %1 to %2 failed with error %3. %4
.

MessageId=100 Severity=Informational SymbolicName=APP_I_HELP
Language=English
The use is CopyFile <source> <dest>.
.