Using RC (The RC Command Line)

To start RC, use the RC command. The following line shows RC command-line syntax: 
RC [options] script-file
The RC command's options parameter can include one or more of the following options: 

/?
Displays a list of RC command-line options.

/d
Defines a symbol for the preprocessor that you can test with the #ifdef directive.

/foresname
Uses resname for the name of the .RES file.

/h
Displays a list of RC command-line options.

/i
Searches the specified directory before searching the directories specified by the 
INCLUDE environment variable.

/lcodepage
Specifies default language for compilation. For example, -l409 is equivalent to 
including the following statement at the top of the resource script file:

LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US


/r
Ignored. Provided for compatibility with existing makefiles.

/v
Displays messages that report on the progress of the compiler.

/x
Prevents RC from checking the INCLUDE environment variable when searching for header 
files or resource files.

Options are not case-sensitive, and a hyphen (-) can be used in place of a slash mark (/). 
You can combine single-letter options if they do not require any additional parameters. 
For example, the following two commands are equivalent:

RC /V /X SAMPLE.RC
rc -vz sample.rc

The script-file parameter specifies the name of the resource-definition file that 
contains the names, types, filenames, and descriptions of the resources to be compiled.
