Solved

Setup robocopy job to copy .exes only

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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
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, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

729 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