Reds wrote:
> In article <0cCDj.4199$qS5.1298@[EMAIL PROTECTED]
>,
> "Todd Vargo" <tlvargo@[EMAIL PROTECTED]
> wrote:
>
>> 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.
>
> 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 DOS.
>
> I'm using a DOS 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.


|