R 65,T 5
Description:  DosSpawn is a Windows application that spawns
either a DOS, Windows, or PIF application.  The command line for
DosSpawn takes the spawned application and any command line
parameters needed for the application.  The application can be
either executed as an icon in the background, or as a window in
the foreground (may require a PIF file for DOS applications).

Why?:  This application was designed to spawn Paradox scripts (or
whatever) from DDE links in Borland's ObjectVision.  It is
especially handy because DDE links only accept executable files
(.EXE) in their arguments.  This utility overcomes that
limitation, allowing batch, PIF, and "associated" files to be
spawned from DDE links.

Syntax;

DosSpawn <App. Name> <App. Params> <Win State>
  App. Name: Any valid windows executable file.
  App. Params: Parameters to be passed to "App.
    Name" program (this parameter is optional, or multiple
    command line parameters may be used).
  Win State: State of the window (optional, defaults to ICON).

  Possible "Win State" values;

    ICON: iconizes spawned application.
    SHOW: displays the spawned application full screen
      and active.
    note: "Win State" parameter must be the very
      last parameter in the command.

Example: 

     DOSSPAWN  Paradox.pif ICON 

This would load a Paradox PIF file, and any associated scripts as
an ICON.



