From: "Chris Antos (Exchange)"
are you using NT, or Win95? i have an executable which only runs on NT that
can help work around this problem with a little effort.
if i remember right, there is a problem in the operating system support for
teeing output from console mode applications. due to this, semware had to
disable the teeing to the screen although the output does still go to the
file (which is the more important of the two).
//chris
-----Original Message-----
From: Tung, Steve Wai-Yip [mailto:Steve_Wai-Yip_Tung@cisnc.canon.com]
Sent: Wednesday, March 25, 1998 11:43 AM
To: tsepro@semware.com
Subject: Dos() in TSE 2.8
I use to have this macro in TSE 2.5. It starts a DOS session and
captures the output back into TSE editor. This makes TSE a great DOS
console. However it doesn't work in TSE 2.8 anymore. In particular the
_TEE_OUTPUT_ flags seems to lose it functions. What can I do?
proc mShellCapture()
integer msglevel
string fn[80]
fn = MakeTempName("", ".tmp")
Dos(Format("command >", fn), _DONT_PROMPT_|_TEE_OUTPUT_)
EditFile(fn)
msglevel = Set(MsgLevel, _WARNINGS_ONLY_)
KillFile()
Set(MsgLevel, msglevel)
FileChanged(FALSE)
end
Wai Yip
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|