From: "Tung, Steve Wai-Yip"
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)
|