1.

Solve : copy under Dos?

Answer» HELLO there
I am working under MS-Dos.
I would like to copy a file from a floppy disk to another floppy disk using the same disk drive. I don´t have any hard disk drive. What is the appropriate command with options?
xuRight in the BACKYARD...diskcopy a: a: and press enterHmmmm.. We just gotta do better...

Pity the OP didn't give the MS-Dos version in use..

No hdd means running Ms-Dos from a floppy. So, basic assumption - no Windows of any breed.

The OP wants to copy a [highlight]file[/highlight] not a disk. Provided that the target file is on the disk in A: surely MS-Dos will accept the command:

Copy A:\filename.ext B:

The user will be prompted to insert the diskette for either A: or B: and may be prompted several times depending on the size of the file.

Anyway, that's how it works on my MS-Dos beasties.. (vers 6.22 and 7.10)

The Copy parameters are:

COPY [/A | /B] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination [/A | /B]] [/V] [/Y | /-Y]

source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
destination Specifies the directory and/or filename for the new file(s).
/V Verifies that new files are written correctly.
/Y SUPPRESSES prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.

The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line

To append files, specify a single file for destination, but multiple files
for source (using wildcards or file1+file2+file3 format).
How did you get DOS On a floppy :-?
I'm just currious

Thanks

Al968Quote
We just gotta do better

Seriously!! Good answer. Copy a:xxx to b:xxx will work fine on most setups. Maybe the OP will come back with details if it doesn't.

Mac
Just couldn't resist - also ran Copy A:>>> B:>>> using MS-Dos 3.21 on old Bondwell hardware, single 720k floppy drive, worked a treat.

Al968 - MS-Dos will boot from just about 3 or 4 files which must include MS-Dos.sys and Command.Com. The rest of the files such as Copy, Append, Attrib, included with MS-Dos are add-ins which make life easy but are not essential. My geriatric Bondwell boots into MS-Dos 3.21 and I have RUN QBasic, Assembler and user apps from the single 720 floppy.

If your query really asks where did I get MS-Dos on a floppy, my copy came with the hardware from an on-line auction, if you're asking where to download it from forum rules do not permit me to answer that.

Here's a CH article.

Good luck, hope the OP comes back to report success or failure..

But those are enough to include basic DOS internal commands.Sure - most of the externals are not required so a lot of disk space can be freed up by backing up the bootable disk then deleting them from the disk used to boot.

Also it's possible to create a ramdisk which could be used to emulate a little hdd - kinda!! - if there is enough ram available.

Lot of fun to be had with geriatric systems...



Thanks Dusty

Actually I was just wondering what files you had to put where you GOT it from or where you downloaded from doesn't specialy interest me

Thanks

Al968Meanwhile he has gone AWOL...but feel free to carry on. Aye aye skipper..


Discussion

No Comment Found