Winsock RCMD32.DLL 1.8 Copyright 1994 Denicomp Systems All rights reserved The directory in which you install RCMD32.DLL must be included in your PATH environment variable or you can copy this file to your Windows directory (e.g. \WINNT35, \WINDOWS, \WINNT35\SYSTEM, \WINDOWS\SYSTEM). The distribution contains two sample programs: CRSH, written using Microsoft Visual C/C++ 2.0, and VRSH, written using Microsoft Visual Basic 4.0 32-bit version. To compile the sample CRSH program included with Microsoft Visual C/C++, type the following at a command prompt: nmake /f crsh.mak crsh.exe The current directory must contain the files RCMD32.H and RCMD32.LIB to compile this program. The program is already compiled for you, so it is not necessary to recompile it in order for you to use it. Once compiled, the program functions similar to the RSH command. It's syntax is: CRSH host command Where: host: The name of the host on which the command is to be executed. This must be a system running the Remote Shell Daemon (rshd), such as Unix or a Windows PC running Denicomp Systems' Winsock RSHD. command: The command to be executed on the remote host. The command may contain spaces. However, if it contains any special characters that are interpreted by your command shell, you must enclose the command or that part of the command in double quotes. CRSH is a "console" program. The command will be executed on the remote host if you are permitted under the rules given in RCMD32.TXT. If the command generates any output to the standard output, it will be displayed on your screen. An example: crsh unix486 ls -x This will execute the command "ls -x" on the "unix486" system and display the output on your screen. If you receive the error "Login incorrect", refer to RCMD32.TXT for details about specifying the user name to use at the remote host. The VRSH sample program provides a simple screen interface to RCMD32.DLL. It does not require Visual Basic 4.0 to run, but it does require the VB 4.0 runtime files, which are not included with this package.