To display Resource Compiler help, type RC with no parameters, at a command prompt. The appropriate copyright statement will be displayed, along with a list of Resource Compiler options. You can also display this list by using the command-line options -h or -?.
Usage: rc [<options>] <.RC input file> [<.EXE output file>]
or: rc [<options>] <.RES input file> [<.EXE output file>]
or: rc [<options>] -r <.RC input file> [<.RES output file>]
-d <defname> - Preprocessor define
-D <defname> - Preprocessor define
-i <path> - Include file path
-r - Create .res file
-p - Pack - 386 resources will not cross 64K boundaries
-x[1|2] - Exepack - Compress resources, using method 1 or 2
-cp <cp> - Code page
-n - Don't show logo
-w2 - Suppress warnings
-? - Access Help
-h - Access Help
Environment variables:
DBCS=<cp>
TMP=<temporary file path>
TEMP=<temporary file path>
INCLUDE=<include file path>; ...
Note: Option -X2 will compress executable files that run only on OS/2 versions 3.0 and later.