Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Setup robocopy job to copy .exes only

Posted on 2010-09-02
3
Medium Priority
?
667 Views
Last Modified: 2012-05-10
Setup robocopy batch job to copy .exes only
0
Comment
Question by:rakkad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Expert Comment

by:sysreq2000
ID: 33588235
ROBOCOPY source destination *.exe
0
 
LVL 1

Accepted Solution

by:
0210018 earned 2000 total points
ID: 33588251
Hello,

When you create your batch file use the following command to copy only .exe

Use : Robocopy "Source" "Destination" *.exe /arguments

Example : Robocopy "C:" "U:" *.exe /E /COPY:DAT /Purge  /R:1 /W:1 /NP

Sincrely yours,
0
 
LVL 2

Expert Comment

by:dehcbad25
ID: 33588693
The easiest way to create your custom RoboCopy is to use RoboCopy GUI, which will give you the command after you configured it.
Have in mind that there is also RichCopy, which is multi threaded, and can copy faster. RichCopy will also give you the command lines, and it is what I use to keep folders synchronized copying only the changes.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question