?
Solved

Setup robocopy job to copy .exes only

Posted on 2010-09-02
3
Medium Priority
?
655 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

762 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