From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,575c148e80bbbdf8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-09 09:54:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Using Spawn in Win2K Date: 06 May 2002 17:49:05 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1020722147 27213 128.183.220.71 (6 May 2002 21:55:47 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 6 May 2002 21:55:47 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:23782 Date: 2002-05-06T21:55:47+00:00 List-Id: "Dave Head" writes: > > So, please, what goes where I have "command.com"? command.com is a 16 bit application. Use cmd.exe instead. > Or, can it be done at all in W2K? I've never done this, but it should work :). > Later, when that is working, and I want to say "dir >filename.txt" > to throw the output into a file, can the entire phrase "dir > >XXX.XXX" be thrown into the string, Probably. Give it a try. > >or do each of "dir", ">" and "XXX" have to be a different string > for the Cmd_array to point to? If the first one doesn't work, try this :). -- -- Stephe