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

    NAME
        ! - execute a DOS command

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

    EXAMPLES
        ! del /y junk.foo          # delete the file junk.foo
	! dir *.run ! cam 5 pro 3  # run 'dir *.run', then shoot

    DESCRIPTION
        Execute a single command in MS-DOS without leaving the OPCS software.

	All characters to the right of the '!', up to the end of line, 
	or '#', 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 make repeated use of the '!' character
	to switch back and forth within a single line:

	    ! <DOS-command> ! <OPCS-command> ! <DOS-command> ..

	Example:

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

	The above runs 'copy *.pos a:' in DOS, then runs the CAM and PRO 
	commands in OPCS, then runs the "dir a:" command in DOS again.

	Not only can you run DOS commands, but you can run DOS batch
	scripts (.BAT), perl scripts, or other C programs such as the
	HOME(DOCS) program.

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

    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.