Microsoft KB Archive/252373: Difference between revisions
m (Text replacement - ">" to ">") |
m (Text replacement - "&" to "&") |
||
Line 62: | Line 62: | ||
<div class="indent"> | <div class="indent"> | ||
<span class="kbd userinput"> rsh <code>computername</code> "//C/WINNT/system32/cmd.exe /c dir < /dev/null 2>& | <span class="kbd userinput"> rsh <code>computername</code> "//C/WINNT/system32/cmd.exe /c dir < /dev/null 2>&1 | cat" </span> | ||
Revision as of 12:35, 21 July 2020
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