![]() |
|
![]() |
| DosCommand | DosShell | Run |
procedure DosCommand
(command : in string;
parameters : in string;
done : out boolean);
--*
-- DosCommand - Execute a DOS command.
--
-- This procedure runs COMMAND.COM to execute a DOS command.
-- This procedure may be used to execute .BAT files as well.
-- The status that is returned is from COMMAND.COM not the
-- program that was run by COMMAND.COM. If that status is
-- required, the 'Run' procedure should be used instead.
--
-- CALLING SEQUENCE -
--
-- DosCommand (command, parameters, done)
--
-- ENTRY -
--
-- command : string
-- The name of the command to execute.
--
-- parameters : string
-- Parameters to be supplied to the command from the command line.
--
-- done : boolean
-- Success indicator.
--
procedure DosShell
(done : out boolean);
--*
-- DosShell - Execute to a DOS shell.
--
-- This procedure exits your program to a DOS shell using
-- the COMMAND.COM file. When the user enters 'EXIT', the
-- DOS shell is terminated and control returned to your
-- program.
--
-- CALLING SEQUENCE -
--
-- DosShell (done)
--
-- EXIT -
--
-- done : boolean
-- Success indicator.
--
procedure Run
(programFileName : in string;
parameters : in string;
done : out boolean);
--*
-- Run - Runs the specified program.
--
-- This procedures runs the specified program. The calling
-- program is suspended until the called program exits.
--
-- CALLING SEQUENCE -
--
-- Run (programFileName, parameters, done)
--
-- ENTRY -
--
-- programFileName : string
-- The name of the program to run.
--
Send mail to
warren.merrill@inl.gov
with questions or comments about this web site.
Copyright © 1989-2006 Battelle Energy Alliance