Console Remote Access Clients >

 

Remote Execute Client

 

 

rexec.exe

A remote execute daemon will execute a single command on the server. The remote execute client, rexec, is needed to initiate a connection with the daemon and return the output to the client.

Required parameters are the remote execute daemon host name and the command to be run. If the username is left blank, the current logged on user will be used. If there is not a current logged on user, a username must be provided as a parameter.

Usage

rexec host [-l login] command

Parameters

Host

Computer name of host running a rexec daemon

-l login

Username for authentication

command

Command to execute on remote machine

/?

Displays text help file

 

Examples

Get a directory listing of the temp directory on the machine \\PRODUCTION

rexec PRODUCTION -l Username dir c:\temp

Run a batch file on the machine \\PRODUCTION

rexec PRODUCTION -l Username build

Run a batch file on the machine \\PRODUCTION, while logged on to local machine

 rexec PRODUCTION build

 

 

Copyright © 2023 Pragma Systems Inc