!(OPCS)		Optical Printer Control System		!(OPCS)

    NAME
        ! - execute a DOS command

    USAGE
	! [DOS  command]
	[OPCS cmds] ! [DOS cmd] ! [OPCS cmds] ! [DOS cmd]  ...

    EXAMPLES
        ! del junk.foo             # delete a file
	! myprog 1 2 3  ! cam 12 pro 12 ! myprog 6 7 8
	                           #  run 'myprog', shoot cam and pro,
	                           #  then run 'myprog' again.

    DESCRIPTION
        Execute a command in a DOS shell. This is how to execute DOS commands
	without leaving the OPCS software.

	All characters to the right of the '!' (up to the end of the line, 
	a '#' or another '!') are passed to DOS for execution.

	To allow several DOS commands on a single line, or DOS calls mixed
	with OPCS commands, you can use another '!' to quote the command, ie:

	    ! copy *.pos a: ! cam 12 pro 12

	The above runs 'copy *.pos a:' in DOS, then runs the CAM and PRO 
	commands as OPCS commands. The second '!' delimits the DOS command,
	allowing OPCS commands to follow.

    OTHER EXAMPLES
	!copy a:fred .  # Copy the file 'fred' from the A: drive to
                        # the current directory.
	!command        # Run a DOS shell..'exit' returns to OPCS

    BUGS
        None.

    SEE ALSO
        DOSCMD(OPCSDEFS) - define DOS commands that dont need the ! prefix

    ORIGIN
        Adapted after Unix utilities like vi(1) and ed(1).
© Copyright 1997 Greg Ercolano. All rights reserved.