Windows 95 Only
The RIFF Add tool (RIFFADD.EXE) enables you to add text or bitmaps to resource interchange file format (RIFF) files. You can use RIFF Add in either batch mode or interactive mode. In batch mode, RIFF Add takes additions from a script file. In interactive mode, you enter additions through the user interface.
You can add text into DISP and INFO chunks, and bitmaps into DISP chunks. RIFFADD can handle text with extended characters or DBCS characters. It supports a maximum length of 512 bytes. When you type text in the edit field, press CTRL+ENTER to enter a line break. When you type text in the script, use \r\n to enter a line break.
The following is the command-line syntax for RIFFADD:
riffadd [/b script] infile outfile
In batch mode, RIFF Add takes additions from a script file. The following is the format of the script file:
[RIFFADD]
ChunkType=STRING, "text"
ChunkType=FILE, file
The following is a sample script file:
[RIFFADD]
ISBJ=STRING, "This is the subject."
DISP_TEXT=FILE, e:\riffadd\files\file1.txt
ITCH=STRING, "This is the technician."
ICMT=STRING, "This is one line\r\nand this is the next line."
DISP_DIB=FILE, e:\riffadd\files\dib1.dib
ICMS=FILE, e:\riffadd\files\file2.txt
IPLT=STRING, "This is the palette."
In interactive mode, RIFF Add takes additions from the user interface. Specify the chunk type using the Chunk Type drop-down list, specify text using the Text edit field, specify bitmaps using Display DIB, and specify files using the Browse button.