Default Copy MLS backup file to USB Drive

Discussions around using and interfacing with the Church MLS program.
pete_arnett-p40
Member
Posts: 152
Joined: Fri Jan 19, 2007 10:54 am
Location: Sunny South Florida, USA

Default Copy MLS backup file to USB Drive

Postby pete_arnett-p40 » Fri Jul 02, 2010 2:49 am

[font=comic sans ms]Does anyone have an xcopy batch (.bat) script that copies and changes the archive attribute or uses creation date or if file exits (etc.)[/font]
:cool: Your Fellow Servant,
Porter (Pete) Lee Arnett Jr.
USA

scgallafent
Church Employee
Church Employee
Posts: 1047
Joined: Mon Feb 09, 2009 4:55 pm
Location: Riverton, Utah

Postby scgallafent » Fri Jul 02, 2010 5:44 am

pete_arnett wrote:[font=comic sans ms]Does anyone have an xcopy batch (.bat) script that copies and changes the archive attribute or uses creation date or if file exits (etc.)[/font]

Robocopy (part of the Windows Resource Kit) may work better than xcopy for the task.
Windows Server 2003 Resource Kit (microsoft.com)
Robocopy documentation (technet.microsoft.com)

russellhltn
Community Administrator
Posts: 20752
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Postby russellhltn » Fri Jul 02, 2010 9:59 am

It would be easy to write - as long as you know what letter the USB drive is.

At a command prompt, type in "xcopy /?" to see the list of options. I think you may be interested in /M which will only copy the files that have the archive bit set and then reset it.
Have you searched the Wiki?
Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.


Return to “MLS Support, Help, and Feedback”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest