PCBUILD Archives

Personal Computer Hardware discussion List

PCBUILD@LISTSERV.ICORS.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0
Sender:
PCBUILD - Personal Computer Hardware discussion List <[log in to unmask]>
Date:
Wed, 1 Mar 2000 19:49:28 +0100
Reply-To:
PCBUILD - Personal Computer Hardware discussion List <[log in to unmask]>
Subject:
From:
Rick Swartz <[log in to unmask]>
Content-Transfer-Encoding:
7bit
In-Reply-To:
<000601bf82a9$e24c5340$d507fd3f@default>
Organization:
Chaos
Content-Type:
text/plain; charset=us-ascii
Parts/Attachments:
text/plain (71 lines)
Hello Walter,

Tuesday, February 29, 2000, 12:41:11 PM, you wrote:

>>Walter R Worth and Herbert Graf wrote of using XCOPY to copy from one
>>hard drive to another. It would help if they could give their procedures.
>>I have used XCOPY a number of times, but not for copying a hard drive.
>>

> Here is one way of doing so: XCOPY32 C:*.* D:/E/C/H/R/K will copy the entire
> contents of Drive C: to Drive D:  with all directories and subdirectories

Maybe  this should be added to a FAQ (Previous PCBUILD posts - credits to
Bill Cohane (may he live long and prosperous) and Raymond Chen):

The procedure, as I have seen it related here, is as follows:
Set any jumper on the new drive to make it a slave, then install
it as the primary slave
From a DOS box running in Win95 enter the xcopy command with the
following syntax

xcopy c:\ d:\ /r /i /c /h /k /e /y

This should copy everything. We're assuming that you've fdisked,
created an active partition, and formatted the new drive

At one time I thought I discovered XCOPY32 to perform long filename copies.
As it turns out, xcopy32 should never be used by itself. XCOPY will make use
of XCOPY32 if the environment supports the extra features that are possible.


Raymond Chen ([log in to unmask]), the author of xcopy, has posted
about this program in the comp.os.ms-windows.apps.utilities.win95
newsgroup. The following (from several of Raymond's posts) is quoted:

>>>>>>>

Don't run xcopy32 directly. Ever. Always run xcopy.
Xcopy.exe...sets up a few things and then runs Xcopy32 with the
appropriate settings...

If you are running in Windows mode, xcopy runs the 32-bit version of
xcopy32.exe. If you are running in DOS mode, xcopy runs the 16-bit
version of xcopy32.exe. (Yes, xcopy32.exe is two, two, two programs
in one.) If you look carefully, xcopy.exe is a tiny little program.
Xcopy is just a little front-end for xcopy32, which is where all the
real work happens... It was a mistake to give that other file the name
"xcopy32.exe". I should've called it "xcopy.mod"...
Xcopy.exe is the only program you should run.

I was given five days to add LFN support to Xcopy...I did what I could
in the time I had...it was easier to add the /h option to the Win95
version than the DOS version. (The DOS version is written in assembly
language. The Win95 version is written in C.)....I had some time left
over, so I added /H and /K and /L and a few other switches to the
32-bit version.

If you are running in DOS mode, then only the DOS xcopy features are
available. Xcopy handles everything, *provided* you run it from within
the Windows 95 GUI. The /H and /K options are supported only in Windows
95 mode.


Best regards,
--
Rick S.                            mailto:[log in to unmask]

            Do you want to signoff PCBUILD or just change to
                    Digest mode - visit our web site:
                    http://nospin.com/pc/pcbuild.html

ATOM RSS1 RSS2