Copy syntax for command mode from XP HD to Win7 HD

Page 1 of 2 12 LastLast

  1. Posts : 892
    Windows 7 x64 Ultimate
       #1

    Copy syntax for command mode from XP HD to Win7 HD


    I have a large file transfer to do.

    Please advise if I can do this with a DOS command where

    The XP HD has a folder called myfolder in E:

    The Win7 HD has a folder called myfolder64 in C:

    Please give the exact syntax since I haven't used dos for a long time to include any cd/ commands etc.

    Then should my media files transfer similar to a disk clone? That is the goal. Two file extensions are in the directory.
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    No other commands needed.

    I would use xcopy or robocopy rather than plain copy though.

    xcopy e:\myfolder\* c:\myfolder\ /s/h/r/i/k/e

    robocopy e:\myfolder\* c:\myfolder\ /e /r:5 /w:5
      My Computer


  3. Posts : 892
    Windows 7 x64 Ultimate
    Thread Starter
       #3

    Robocopy? It's a new one on me.

    Does this execute from the command line or in the box? It may not matter. Also should the command be executed from the C: drive?


    These may sound like dumb questions but all I see is the command strings you show not
    where they are called.

    This must preclude asterisks and such.
      My Computer


  4. Posts : 892
    Windows 7 x64 Ultimate
    Thread Starter
       #4

    I am still at this because I found an error in my setup: I forgot to uncheck the thumbs.db option in
    Win7. This added the thumbs.db to a bunch of folders which then produced errors when trying to read.

    In looking over the command string here and looking elsewhere, how would the
    File transfer wizard make life easier if at all for transferring one large folder A on XP to a new Folder B on Win7?

    I know how to get the thumbs off now but does the File Transfer wizard catch such an error
    for future jobs?
      My Computer


  5. Posts : 6,285
    Windows 10 Pro X64
       #5

    For xcopy, add the /c parameter:

    xcopy e:\myfolder\* c:\myfolder\ /s/h/r/i/k/e/c

    /c says to ignore errors.
      My Computer


  6. Posts : 892
    Windows 7 x64 Ultimate
    Thread Starter
       #6

    But do I want to avoid errors? Thumbs are actual files that get deposited in the folder. I looked up robocopy but had not used it. Is there a preference? It seems to be a more advanced utility.
      My Computer


  7. Posts : 6,285
    Windows 10 Pro X64
       #7

    If you don't ignore errors then you will constantly stop at the same place during a copy, unless you fix the error, probably by removing the offending file. If there are a lot of files this gets old real quick.

    Either xcopy or robocopy are fine. I'm more familiar with xcopy so I use it more. With robocopy I have to look at the command syntax every time I use it.
      My Computer


  8. Posts : 892
    Windows 7 x64 Ultimate
    Thread Starter
       #8

    Thanks for adding the c on the end. I think it will go more smoothly this time.
    Last edited by loninappleton; 16 Nov 2015 at 12:41.
      My Computer


  9. Posts : 892
    Windows 7 x64 Ultimate
    Thread Starter
       #9

    Very frustrated.
    I am not struggling with other old DOS commands to clear the target disk of a large
    directory.

    e:\del mydirectory fails.

    What asterisks or other qualifiers are needed?
    Previously I even loaded the e: drive as master to delete through Win7 and apparently that failed as well.

    Is there some problem between XP ntfs and Win7 or is it just my keystroke errors?

    I have to get rid of the problem directory (del) first since If I don't I get an out of space error.
    I can't afford to damage this directory. While waiting for reply, I'm going to run a backup.
      My Computer


  10. Posts : 6,285
    Windows 10 Pro X64
       #10

    So you have a E:\mydirectoy you want to remove?

    del e:\mydirectory /s

    or

    rd e:\mydirectory /s
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:33.
Find Us