### Resource Compiler - Help (OS/2)

To display Resource Compiler help, type RC at the prompt, with no parameters. 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 option -h.

>     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
>       -Ddefname         - Preprocessor define
>       -i                - Include file path
>       -r                - Create .res file
>       -x[1|2]           - Exepack-compress resources using method 1or 2
>       -cc cc            - country code
>       -p                - Pack - 386 resources will not cross 64K boundaries
>       -cp cp | lb,tb,...- DBCS codepage or lead/trail byte information
>       -h                - Access Help

>     Environment variables:
>       DBCS=cp | lb,tb,...
>       TMP=temporary file path
>       TEMP=temporary file path
>       INCLUDE=include file path

Note: Option -X2 will produce executable files that run only on OS/2 version 3.0 and later.

Resource Compiler - An Overview
Resource Compiler - Syntax
Resource Compiler - An Overview
Resource Compiler - Syntax