Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Copy syntax for command mode from XP HD to Win7 HD

19 Oct 2015   #1
loninappleton

Windows 7 x64 Ultimate
 
 
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 System SpecsSystem Spec
.
19 Oct 2015   #2
Ztruker

Windows 10 Pro X64
 
 

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 System SpecsSystem Spec
19 Oct 2015   #3
loninappleton

Windows 7 x64 Ultimate
 
 

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 System SpecsSystem Spec
.

14 Nov 2015   #4
loninappleton

Windows 7 x64 Ultimate
 
 

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 System SpecsSystem Spec
14 Nov 2015   #5
Ztruker

Windows 10 Pro X64
 
 

For xcopy, add the /c parameter:

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

/c says to ignore errors.
My System SpecsSystem Spec
14 Nov 2015   #6
loninappleton

Windows 7 x64 Ultimate
 
 

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 System SpecsSystem Spec
15 Nov 2015   #7
Ztruker

Windows 10 Pro X64
 
 

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 System SpecsSystem Spec
15 Nov 2015   #8
loninappleton

Windows 7 x64 Ultimate
 
 

Thanks for adding the c on the end. I think it will go more smoothly this time.
My System SpecsSystem Spec
01 Dec 2015   #9
loninappleton

Windows 7 x64 Ultimate
 
 

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 System SpecsSystem Spec
01 Dec 2015   #10
Ztruker

Windows 10 Pro X64
 
 

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

del e:\mydirectory /s

or

rd e:\mydirectory /s
My System SpecsSystem Spec
Reply

 Copy syntax for command mode from XP HD to Win7 HD




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
"Copy" command in command prompt generates 0x1a artifact?
Hello Everybody! I don't know if this is a real issue, or just one of those "What the . . . .!!" situations. You judge. Situation: I was working on a batch file that combines two .txt (ASCII?) files created in Notepad to create a composite file, and I noticed something really interesting. ...
Software
'copy and paste' within the command window?
How, again, do you 'copy and paste' within the command window? Trying to get to the CBS.log again...
General Discussion
Is there fast copy tool at command line?
Is there fast copy tool at command line? I want to copy several folders and files at command line as fast as possible. I tried fastcopy, but it opens windows and need to confirm.
General Discussion
Command Prompt - Copy to Clipboard
How to Enable Copy to Clipboard from Command Prompt in Windows 7 This will show you how to enable or disable Quick Edit mode in the command prompt to highlight text within the command prompt to copy to the clipboard in Windows 7.You can use this for a normal command prompt or elevated...
Tutorials
win7 evaluation copy to a retail copy install
I am getting win7 Ultimate (it should be in the mail right now), I install the win7 evaluation copy with a build I did back in the summer & installed win7 evaluation copy with a clean install. Now I want to do another clean install to get rid of the junk I have collected over the last couple months...
Installation & Setup
Command Window / Can't copy
Hi guys, please anybody move this thread, I didn't know where to post :) I have the following problem... a friend of mine owns an Acer Aspire One netbook with XP and he wanted me to install Windows 7 (RC). Well, I did so and it worked for weeks. Now (I don't know what he was doing) there's...
Installation & Setup


Our Sites

Site Links

About Us

Find 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:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App