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



The information in this article applies to:

  • Interix 2.2.1
  • Interix 2.2.2
  • Interix 2.2.3
  • Interix 2.2.4
  • Interix 2.2.4.03
  • Interix 2.2.4.08
  • Interix 2.2.5

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


Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbenv kbhowto KB252373