Solved

Setup robocopy job to copy .exes only

Posted on 2010-09-02
3
624 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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