In Windows, the Offline Generator program can be started and run directly from the MS-DOS command line or from a batch or scripting environment such as an MS-DOS batch file or Perl script. In UNIX systems, the Offline Generator can be invoked from the command line in a shell or from a Perl script. Make sure that you run the Generate command from the Generator directory or set your system path to include the Generator directory. (In Windows NT, Generator is installed by default in C:\Program Files\Macromedia\Generator 2. In UNIX systems, where there is no default installation directory, Macromedia recommends that you use a directory in /usr/local, such as /usr/local/generator2.)
You can use the Offline Generator in an online manner if you call it directly from a CGI script. For best performance, use the Online Generator if you need to create on-demand content.