cmd: Use FormatMessage() for better internationalization support. This makes it possible to reorder the format string placeholders in message translations.