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

Posted on 2006-05-31
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

    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

    Here " " you have all the Known commands for Robocopy.

    Have a look at it !

    Best Regards !
    LVL 9

    Accepted Solution

    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!

    LVL 1

    Author Comment

    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

    No Problem.

    We are here to help !

    Best Regards !
    LVL 15

    Expert Comment

    Split among  . . .

    Best Regards !

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    If you have a USB Drive that is not recognized by Windows the problem is usually that you have too many network drives or other drives that occupy all the drive letters D: E: or F: which is the normal drive letter of a usb drive. The way to correct …
    How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
    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…
    This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

    745 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

    17 Experts available now in Live!

    Get 1:1 Help Now