Reds wrote:
> foxidrive wrote:
>> Reds wrote:
>>> foxidrive wrote:
>>>> On Mon, 17 Mar 2008 05:37:04 GMT, Reds <redex1398@[EMAIL PROTECTED]
>
>>>> wrote:
>>>>
>>>>> 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 DOS from Windos ME
>>>>>
>>>>> Why doesn't these work:
>>>>> copy c:\dir1 d:\dir2
>>>>
>>>> copy "c:\dir1\*.*" "d:\dir2"
>>>>
>>>>> xcopy c:\dir1 d:\dir2 /e
>>>>
>>>> xcopy "c:\dir1\*.*" "d:\dir2\" /e
>>>
>>> I tried both commands but I mostly get a bad command or filename
>>> error. At times, it also seem to be confused by "\dir1\*.*\",
>>> saying so such file or directory.
Placing a backslash after the *.* is incorrect. To copy the dir1
directory,
drop the *.* as shown below.
xcopy "c:\dir1\" "d:\dir2\" /e
Also, you state below that you are using a boot floppy but do not indicate
the OS on that floppy. MSDOS 6.22 or earlier does not use LFNs so the
quoting would be in error for those OSs. Also, XCOPY in same OSs require
the
/S to be included with the /E.
>> Without more information I can't tell where the error you are making
>> is. Somehow the command is either being mispelt of you have a
>> greater problem in Windows.
>>
>> Here is an example for you: dir1 and dir2 have to exist.
>>
>> ===[screen capture]===
>> Microsoft Windows XP [Version 5.1.2600]
>> (C) Copyright 1985-2001 Microsoft Corp.
>>
>> M:\>copy "m:\dir1\*.*" "m:\dir2"
>> m:\dir1\BOOT.BAK
>> 1 file(s) copied.
>>
>> ===[screen capture]===
>
> I'm actualy trying to get the command to work in DOS after booting
> from a floppy.
> I get it to work somewhat in Windows command prompt.
> For example, if I'm on the the c drive, then this works:
> xcopy dir1 d:\dir1 /e
>
> 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.
--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)


|