By &#39;dos&#39; I assume you mean the cmd prompt for Windows 2000, XP or Vista...?<div>You can just as easily use 2&gt;&amp;1 syntax in there also.</div><div><br class="webkit-block-placeholder"></div><div>cmake --help 1&gt;
cmake1.txt 2&gt;cmake2.txt</div><div><div>cmake --help 2&gt;cmake2.txt 1&gt;&amp;2</div><div><br class="webkit-block-placeholder"></div></div><div>works just fine from a &#39;dos&#39; prompt on Win2k or later...</div><div>
<br class="webkit-block-placeholder"></div><div><br><br><div><span class="gmail_quote">On 11/19/07, <b class="gmail_sendername">Josef Karthauser</b> &lt;<a href="mailto:joe.karthauser@geomerics.com">joe.karthauser@geomerics.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">:) Sure I can do that.&nbsp;&nbsp;However I was trying to use &#39;dos&#39;.&nbsp;&nbsp;World of<br>pain.&nbsp;&nbsp;Using cygwin&#39;s bourne shell instead :).
<br><br>Joe<br><br>&gt; -----Original Message-----<br>&gt; From: cmake-bounces+joe.karthauser=<a href="mailto:geomerics.com@cmake.org">geomerics.com@cmake.org</a><br>&gt; [mailto:<a href="mailto:cmake-bounces+joe.karthauser=geomerics.com@cmake.org">
cmake-bounces+joe.karthauser=geomerics.com@cmake.org</a>] On<br>Behalf<br>&gt; Of Dizzy<br>&gt; Sent: 19 November 2007 16:48<br>&gt; To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>&gt; Subject: Re: [CMake] Causing cmake to use stderr instead of stdout.
<br>&gt;<br>&gt; On Monday 19 November 2007 18:37:02 Josef Karthauser wrote:<br>&gt; &gt; Is it possible (with relative easy) to have cmake send all output to<br>&gt; &gt; stderr instead of stdout?<br>&gt;<br>&gt; Well on a bourne shell I think you can do:
<br>&gt;<br>&gt; cmake /path/to/sources 1&gt;&amp;2<br>&gt;<br>&gt; And it will run cmake redirecting fd 1 (stdout) to fd 2 (stderr). If<br>&gt; you need<br>&gt; to further direct the output make sure you write that before &quot;1&gt;&amp;2&quot;
<br>&gt; part as<br>&gt; in:<br>&gt;<br>&gt; cmake /path/to/sources 2&gt; logfile.txt 1&gt;&amp;2<br>&gt;<br>&gt; --<br>&gt; Mihai RUSU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email: <a href="mailto:dizzy@roedu.net">dizzy@roedu.net
</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Linux is obsolete&quot; -- AST<br>&gt; _______________________________________________<br>&gt; CMake mailing list<br>&gt; <a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>&gt; 
<a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org
</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>&nbsp;</div>