Is there an XCOPY that copies files from one folder to another, not sending them down to the workstation?

Is there an XCOPY-type command that copies files from one folder to another, that saves time and bandwidth by not sending them down to the workstation?
Who is Participating?
sstoukConnect With a Mentor Commented:
Use the rexec utility from www.sysinternals
You can make it execute command on the remote workstation and copy files directly to another one without your system in the middle.
You are looking for remote execution, rather than a shell command.  This could be a done through a number of remote control packages (terminal server, pcAnywhere, VNC, et al), or even done through telnet (native, but probably disabled) or SSH.

tfield98Author Commented:
Thanks, sstouk.  Great suggestion.  I wasn't able, however, to find the rexec tool at sysinternals. (I use a number of their tools regularly.)  Perhaps they've removed it from their site?

I ran rexec from the XP cmd and <blush> couldn't figure out how to get it going (nor could I find any meaningful help on the web. After providing my user name and password, I get blank line (no-prompt) as if a copy <stdin is being done.

Any suggestions on how to use the rexec provided by Microsoft ... or to find the one that was formerly on the sysinternals site?

The Sysinternals has the pctools still available.
rexec is a part of the tools  collection.
Scott_WillcocksConnect With a Mentor Commented:
rexec {hostname} -l {username} xcopy.exe {any switches you require}

reexec comes with windows 2k and xp not sure about winnt4 though.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.