Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DOS copy of entire C partition

1 view
Skip to first unread message

pcmdc

unread,
Jul 25, 2002, 5:19:09 PM7/25/02
to
I have a small C partition that has a few directories and 50 files. How do
I copy ALL the directories and FILES from the C partition to an A drive
diskette?

When I type copy*.* A:\ it ONLY copies the files. How do I also copy the
DIRECTORIES so that I have an exact copy of the C partition?

Diskcopy command doesn't work either.

Any ideas?

William Allen

unread,
Jul 25, 2002, 5:56:41 PM7/25/02
to
"pcmdc" wrote in message

> I have a small C partition that has a few directories and 50 files. How do
> I copy ALL the directories and FILES from the C partition to an A drive
> diskette?
>
> When I type copy*.* A:\ it ONLY copies the files. How do I also copy the
> DIRECTORIES so that I have an exact copy of the C partition?

Try XCOPY. For help with the syntax of the XCOPY command
use the /? switch to find out what switches are supported on
your Operating System. For example, in Windows 95/98/ME
this is a typical command line to do what you ask:

xcopy C:\*.* A:\*.* /s /e /y /h /c

/s = include Subfolders, creating them as needed
/e = include Empty subfolders, creating them as needed
/y = Yes, overwrite any same-name existing files
/h = include Hidden/system files
/c = continue on errors (file in use, etc)

--
(pp) William Allen


Tom

unread,
Jul 26, 2002, 5:46:01 AM7/26/02
to
xcopy c:*.* a: /s
floppy only holds 1.44 megs though


"pcmdc" <pc...@bigfoot.com> wrote in message
news:oOZ%8.16391$Og3.3...@e3500-atl1.usenetserver.com...

0 new messages