>>>>> "Lex" == Lex Hagen <[EMAIL PROTECTED]> writes:

> Hi,
> Is it possible to run a Perl program on a Windows NT machine, that logs on 
> to a remote UNIX machine? On that machine the Perl program should execute
> some
> commands and when this is finished, it should disconnect from the UNIX 
> machine and execute some commannds on the Win NT machine (from where it 
> is running). After that the Perl program can be terminated.

> Anybody knows whether this is possible and how?

> All tips are welcome, please send a copy of your respons to
> [EMAIL PROTECTED]

What about using "rsh"? This is a UNIX command that has also been
ported to NT (it's in my c:/winnt/system32 dir). Help from the NT
version says:

  Runs commands on remote hosts running the RSH service.
  
  RSH host [-l username] [-n] command
  
    host            Specifies the remote host on which to run command.
    -l username     Specifies the user name to use on the remote host. If
                    omitted, the logged on user name is used.
    -n              Redirects the input of RSH to NULL.
    command         Specifies the command to run.

Sarir

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to