home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
info
/
prgramer
/
edmi
/
issue_3
/
dpipeln
/
dpipeln.man
< prev
next >
Wrap
Text File
|
1993-05-20
|
2KB
|
135 lines
DPIPELN(1) USER COMMANDS DPIPELN(1)
NAME
dpipeln - Execute a Dos command from an OS/2 session and
pipe the output back to the OS/2 session
SYNOPSIS
dpipeln [ -v ] [ -f ] [ -sdos_settings_filename ]
[ -ttemp_dir_name ] dos_command
DESCRIPTION
DPipeLn allows a user to start a Dos command from an OS/2
session. The stdout of the Dos command is piped back to the
OS/2 session so that the Dos command acts like an OS/2 com-
mand.
OPTIONS
-v Start the Dos session and make it visible. The default
is to keep the window invisible.
-s Specify the file where Dos settings may be found. Dos
settings files contain the same strings of text found
in the Dos Settings boxes. An example of a settings
file is found below:
EMS_MEMORY_LIMIT=128
XMS_MEMORY_LIMIT=8192
DPMI_DOS_API=ENABLED
DPMI_MEMORY_LIMIT=8
IDLE_SENSITIVITY=75
HW_TIMER=ON
VIDEO_RETRACE_EMULATION=OFF
-f Start the Dos session in the foreground.
-t Specify the location for temporary files.
ENVIRONMENT VARIABLES
DPipeLn needs a temporary directory to store a file in.
That directory can be specified with any one of the following
variables:
DPIPELN_TEMP
TEMP
TMP
These variables are searched for in the above order. If no variable
is found then the files are created in the current directory.
KNOWN PROBLEMS
DPipeLn will set it's return code to the return code of the
Dos program only if 4Dos is the command processor. Other-
wise the return code will always be 0 except when DPipeLn
itself has a problem. Then the return code will be -1.
DPipeLn will display the stderr of the Dos program only if
4Dos is the command processor.
AUTHOR
Charles R. Oldham (cro@socrates.ed.asu.edu)
Last change: 27 April 1993 1
DPIPELN(1) USER COMMANDS DPIPELN(1)
Charles R. Oldham
Sun Release 4.1 Last change: 27 April 1993 2