Creating and Compiling a Resource File

The resource compiler (RC) compiles a resource script file to create a new file, called a binary resource file, which has a .RES file-name extension. The binary resource file can be added to the executable file of the application, thereby replacing any existing resources in that file.

The RC command line has the following three basic forms:

  rc resource-script-file [executable-file]

  rc binary-resource-file [executable-file]

  rc -r  resource-script-file [binary-resource-file]

Note: The third option does not add to the executable file.