home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR10
/
TLXTW110.ZIP
/
DOS.SLT
< prev
next >
Wrap
Text File
|
1993-08-22
|
469b
|
17 lines
// dos.slc
// Returns to the Telix directory after shelling to DOS.
//
// If the capture file is open it will be closed during the shell, then returned
// to its original state after returning to Telix.
main()
{
str cap[64]; cap = _capture_fname;
int flag; flag = capture_stat();
if (flag > 0) capture("*close*");
dos("",0);
newdir( _telix_dir );
if (flag == 1) capture(cap);
else if (flag == 2) { capture(cap); capture("*pause*"); }
}