It sounds like you are trying to compare Linux to Perl instead of comparing Linux to Windows. Linux has a command rcmd, but does Windows? Isn't that the more appropriate question?
Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lynn. Rickards Sent: Wednesday, January 25, 2006 4:14 PM To: Eric Vercelletto Cc: perl-win32-admin@listserv.ActiveState.com Subject: Re: win32: remote command question Eric Vercelletto wrote: > Hi All, > > I am at this moment writing a script that, in addition to listing and > copying some files in a number of remote machines ( Win 2000 Servers ), > should execute remote DOS commands on those > servers. > > Unix provides us with the "rcmd" command that allows you to run a > command on a remote computer, as long as you have the permissions to do > it on the other machines. > I am talking here about running executables that are located on distant > Servers, not about just running "dir \\hostname\folder\*.log". > > How would you do this with Perl on Win2000 ? > > thanks for any light on this topic > One way, not particular to perl: http://www.sysinternals.com/Utilities/PsExec.html HTH - Lynn. _______________________________________________ Perl-Win32-Admin mailing list Perl-Win32-Admin@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs This email, and any files previous email messages included with it, may contain confidential and/or privileged material. If you are not the intended recipient please contact the sender and delete all copies. _______________________________________________ Perl-Win32-Admin mailing list Perl-Win32-Admin@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs