Solved

Setup robocopy job to copy .exes only

Posted on 2010-09-02
3
629 Views
Last Modified: 2012-05-10
Setup robocopy batch job to copy .exes only
0
Comment
Question by:rakkad
3 Comments
 
LVL 11

Expert Comment

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

Accepted Solution

by:
0210018 earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now