Robocopy with D switch defaults to DT (date and time)

Posted on 2006-05-31
Medium Priority
Last Modified: 2008-01-09
Robocopy with the /copy:D should only copy data. The default is :dat which is data, attributes, timestamps. However I am copying to a backup nas device that won't let you set attributes or timestamps.

So, if I explicitly set /copy:d why does it invariably run with /copy:dt instead?

Any ideas? Any other good command line apps capable of mirroring directories and logging the results like robocopy does (single file no installer)?

Question by:jptechnical
LVL 25

Expert Comment

ID: 16801099
Maybe try the /NOCOPY option,  but you wont get even get a date.

I am wondering if it is trying to copy a 'blank' time to your device.

There are a few extended versions of xcopy around heres one with a boatload of options,

Theres things like SecondCopy.  Works great but not command line.
LVL 15

Expert Comment

ID: 16805657
Here " http://www.ss64.com/nt/robocopy.html " you have all the Known commands for Robocopy.

Have a look at it !

Best Regards !

Accepted Solution

IPKON_Networks earned 375 total points
ID: 16806116
If you don't copy the timestamp then the system will default to a time (this could be the 00:00 time or the current copy time. Robocopy does this when it writes the file out.

To get around this, use a different copy services. Not too sure why the NAS won't let you write a timestamp or why this would fail as any OS would write a timestamp when writing the file out to a storage device? Confused!

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 16807806
Barny, I am confused too on this little box not allowing the time stamps... pretty retarded. I am digging up my reciept to take it back if I can.

I am going to take a look at the responses and I will accept a comment this afternoon or in the morning.

Thanks for the replies.
LVL 15

Expert Comment

ID: 16807853
No Problem.

We are here to help !

Best Regards !
LVL 15

Expert Comment

ID: 17593896
Split among  . . .

Best Regards !

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month16 days, 4 hours left to enroll

850 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