MS DOS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs MS DOS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old March 17th, 2008, 06:09 AM
Reds
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #2  
Old March 18th, 2008, 05:09 PM
Todd Vargo
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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)




Reply With Quote
  #3  
Old March 19th, 2008, 06:49 PM
Todd Vargo
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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)


Reply With Quote
  #4  
Old March 20th, 2008, 07:00 PM
Todd Vargo
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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)


Reply With Quote
  #5  
Old March 22nd, 2008, 11:09 PM
Todd Vargo
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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)


Reply With Quote
Reply

Viewing: Web Development Archives FAQs MS DOS > Copying directories


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway