![]()
CAL Program Execution Commands |
CommandsCALL scriptname DOS doscommand EXEC wincommand DDE ddecommand LAUNCH filename Program execution commands call up external processes and pass data to them. All require an argument, which may need multiple components. CALL executes a specified CAL script. If the call is made from within another script, when the called script finishes executing it returns control to the caller. CALL must be followed by a scriptname, as described above. DOS executes a DOS command line. Follow the DOS keyword with any string you might type at a DOS command prompt. If you do not type any arguments after the DOS command, you get an interactive command prompt window. You can use this feature to manipulate files, execute programs or batch files, get directory listings, format disks, etc. During execution of the command, a command prompt window appears on the screen; when finished, the window goes away and control returns to the calling script. EXEC starts a Windows program and optionally passes it command-line arguments. Follow the EXEC keyword with any string you might use in the Program Manager's File Run command. This command starts a program, but does not return from it. To return to ChemFinder, you need to use Task Manager or click in the ChemFinder frame window. DDE sends a Dynamic Data Exchange message to a specified application. Follow the DDE keyword with three arguments:
The table below shows examples of Program Execution
Commands:
|
©2005 CambridgeSoft Corporation. All Rights Reserved. Privacy Statement Tel 800 315-7300 / 617 588-9300 Fax 617 588-9390 Email info@cambridgesoft.com CambridgeSoft Corporation, 100 CambridgePark Drive, Cambridge, MA 02140 USA |