Microsoft KB Archive/252373

= 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  "//C/WINNT/system32/cmd.exe /c dir < /dev/null 2>&1 | cat"

