|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Copying directories
What command do you use to copy directoris from one drive to the other.
I have tried a few, but none has worked. I'm using the MS DS from Windos ME Why doesn't these work: copy c:\dir1 d:\dir2 copy c:\dir1 d:\dir2 /e copy c:\dir1 d:\dir2 /s /e xcopy c:\dir1 d:\dir2 /e xcopy c:\dir1 d:\dir2 /s /e |
|
#2
|
|||
|
|||
|
Copying directories
foxidrive wrote:
Reds wrote: > But it doesn't work when I boot with the floppy. If your drive is formatted for NTFS, then a standard boot floppy can not read the HD. Rather than have us guess, why not tell us why you are booting from floppy just to copy some files on an XP system. >> >I was using this as a slave drive, but when I now boot to Windows, >it is not reading the drive, but saying that it needs formatting >instead. But when I boot with the floppy, I can see the files and >directories, so I'm trying to copy them to another drive while in >DS. >> >I'm using a DS startup disk made from Windows ME. >> >I tried xcopy "c:\dir1\" "d:\dir2\" /e , >xcopy c:\dir1\ d:\dir2\ /e >and xcopy c:\dir1\ d:\dir2\ /s /e >> >but I keep getting "Bad command or file name." > xcopy.exe or xcopy.com is an external command and must be included on the floppy disk, either on the path or in the current folder or have the full path specified. In Windows 98, XCPY.EXE is a stub loader that passes it's parameters off to XCPY32.MD which does the actual work. I don't recall if Windows ME had the same scheme, but all you would need to do is copy XCPY32.MD to the floppy and rename it to XCPY.EXE and then you are in business. If your Hard drive is in NTFS format and all you want to do is copy the data to your ME hard drive then it would be 'better' to download a live Linux cdrom, burn the cdrom and then boot off the cdrom. You can then use Linux to copy your files, which will copy faster than in MSDS using PI disk transfers, and will also preserve long filenames. You could try a Live Ubuntu linux distribution cdrom which has NTFS read support I believe. Since the drive is readable from a Windows 98 boot disk, ISTM, "when I now boot to Windows it is not reading the drive", refers to Windows 3.xx. Just a hunch. -- Todd Vargo (Post questions to group only. Remove "z" to email personal messages) |
|
#3
|
|||
|
|||
|
Copying directories
Sjouke Burry wrote:
Reds wrote: I'm using a DS startup disk made from Windows ME. > I tried xcopy "c:\dir1\" "d:\dir2\" /e , xcopy c:\dir1\ d:\dir2\ /e and xcopy c:\dir1\ d:\dir2\ /s /e > but I keep getting "Bad command or file name." In which case you got a fair warning that xcopy(not an internal command but a program) is nowhere available. You should add xopy.exe and maybe xcopy32.exe to your floppy. I verified with a Windows ME image. Like Windows 98, xcopy32.exe is identical to xcopy.exe which are just stub loaders for xcopy32.mod which does the actual work. -- Todd Vargo (Post questions to group only. Remove "z" to email personal messages) |
|
#4
|
|||
|
|||
|
Copying directories
Reds wrote:
Todd Vargo wrote: In Windows 98, XCPY.EXE is a stub loader that passes it's parameters off to XCPY32.MD which does the actual work. I don't recall if Windows ME had the same scheme, but all you would need to do is copy XCPY32.MD to the floppy and rename it to XCPY.EXE and then you are in business. > > The ME CD has XCPY.EXE, XCPY32.EXE and XCPY32.MD. I copied all three to the floppy. After booting, I did xcopy c:\dir1 d:\dir2 /e This worked without having to rename XCPY32.MD. Excellent. If you find your floppy is kind of cramped, now you know a way to free up 16 clusters (8KB). Happy batching! -- Todd Vargo (Post questions to group only. Remove "z" to email personal messages) |
|
#5
|
|||
|
|||
|
Copying directories
Reds wrote:
Todd Vargo wrote: >Reds wrote: Todd Vargo wrote: In Windows 98, XCPY.EXE is a stub loader that passes it's parameters off to XCPY32.MD which does the actual work. I don't recall if Windows ME had the same scheme, but all you would need to do is copy XCPY32.MD to the floppy and rename it to XCPY.EXE and then you are in business. The ME CD has XCPY.EXE, XCPY32.EXE and XCPY32.MD. I copied all three to the floppy. After booting, I did xcopy c:\dir1 d:\dir2 /e This worked without having to rename XCPY32.MD. >> >Excellent. If you find your floppy is kind of cramped, now you know >a way to free up 16 clusters (8KB). >> >Happy batching! > Is there anyway to preserve the original filename? MD is not an executable extension so you would not be able use it directly. Nobody actually types xcopy32 so preserving that part is pointless. I just rename it to xcopy.exe and not worry about the original name. -- Todd Vargo (Post questions to group only. Remove "z" to email personal messages) |
![]() |
| Viewing: Web Development Archives > FAQs > MS DOS > Copying directories |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|