[comp.sys.ibm.pc] I HATE DOS

oswald@cpe.UUCP (08/17/88)

{}

Try the xcopy program that comes with MSDOS.  This will work like using
copy -rmv under Xenix.

xcopy a:\ c:\ /s

The /s will cause it to go down the tree.  If you don't want to put the root of
the floppy on the root of the hard disk then change the path on xcopy.

xcopy a:\ c:\foo /s

Have fun.

Roy W. Oswald
Tandy Computer Product Engineering
convex!ctvax!trsvax!cpe!oswald

marco@hpmcaa.HP.COM (Marco Dalla-Gasperina) (08/18/88)

>/ hpmcaa:comp.sys.ibm.pc / tony@killer.DALLAS.TX.US (Tony Holden) / 5:03 pm Aug 16, 1988 /
>
>I need some help from you DOS guys.
>
>I have a diskette that has multiple directories and multiple files
>in each directory. What I want to do is make a directory on the hard
>disk for each directory on the floppy and then copy the files to that
>directory. Simple, I know. %!$@##
>
>Would someone make me a bat file to handle this (he says while on his
>knees)? No problem doing this on a Unix box, but DOS has me in knots.
>Why MS couldn't put a have-way useable shell is beyond me.
>
>Thanks
>
>Tony Holden
>tony@killer
----------

If you have DOS 3.2 or greater, you can use XCOPY which is like
a recursive copy command.

XCOPY a:\*.* c:\flopdir /S

If not you have to write a program to do it.

marco