Microsoft KB Archive/252373: Difference between revisions

From BetaArchive Wiki
m (Text replacement - ">" to ">")
m (Text replacement - """ to """)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
<div id="TitleRow">
<div id="TitleRow">


= <span id="KB252373"></span>How to Run Win32 Programs with the &quot;rsh&quot; Command in Interix =
= <span id="KB252373"></span>How to Run Win32 Programs with the "rsh" Command in Interix =




Line 62: Line 62:
<div class="indent">
<div class="indent">


<span class="kbd userinput"> rsh <code>computername</code> &quot;//C/WINNT/system32/cmd.exe /c dir < /dev/null 2>&amp;1 | cat&quot; </span>
<span class="kbd userinput"> rsh <code>computername</code> "//C/WINNT/system32/cmd.exe /c dir < /dev/null 2>&1 | cat" </span>





Latest revision as of 13:52, 21 July 2020

Knowledge Base


How to Run Win32 Programs with the "rsh" Command in Interix

Article ID: 252373

Article Last Modified on 10/2/2003



APPLIES TO

  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition



This article was previously published under Q252373

SUMMARY

This article describes how to use the rsh remote shell command with Win32 programs.

MORE INFORMATION

Interix contains POSIX standard Rutils that customers can use to perform remote logons and to run programs from a remote computer without actually having to log on to the computer.

This requires a wrapper (a way of dealing with the output of the Win32 program by finding an outlet) that directs the program's output. This is called forcing the stdin/stdout/stderr handles. If you want to do this, type the following command:

rsh computername "//C/WINNT/system32/cmd.exe /c dir < /dev/null 2>&1 | cat"


REFERENCES

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

246324 Inetd and the Rutils


246555 Win32 Programs Do Not Run Remotely


Keywords: kbhowto kbenv KB252373