TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: `TUNG, STEVE WAI-YIP`
date: 1998-03-26 06:13:00
subject: Dos() in TSE 2.8

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.