Surpress DOS box in Windows

Ken Ray kray at sonsothunder.com
Wed Aug 16 11:20:45 EDT 2006


On 8/16/06 5:58 AM, "Sarah Reichelt" <sarah.reichelt at gmail.com> wrote:

> On 8/16/06, N C <jinjenator at googlemail.com> wrote:
>> Hi all
>> 
>> I was wondering if it is possible to surpress a DOS box in Windows (running
>> a DOS based app) but still grab the output from it? I can get this working
>> if the DOS box is allowed to show but not any other way.
>> Any ideas would be appreciated.
>> 
> 
> I forget the exact term and I'm not on a computer with Revolution, but
> I think it's called "hideConsoleWindows". Set that (or something
> similar) to true and no DOS window will appear.

You got it right, Sarah:

  set the hideConsoleWindows to true
  put shell(<whatever you're executing>) into tVar


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list