[Coco] Toolshed and RS-DOS filenames with spaces.

Allen Huffman alsplace at pobox.com
Thu Jan 29 14:04:05 EST 2015


Can the "decb" command get a file with a space? I have "FIX 128.DOC" and "FIX 128.BAS" on the first (of many) disk images. I have tried usual stuff like:

decb copy disk000.dsk,"FIX 128.DOC"
decb copy disk000.dsk,FIX\ 128.DOC
...etc...

"decb" has no dsave, but the docs for the "os9" command mention that dsave there works on RS-DOS and OS-9, so I was able to do:

os9 dsave disk000,dsk, DIRECTORY

...and in the output, I see it runs:

os9 copy "disk000.dsk,FIX.BAS" "DIRECTORY/FIX.BAS"  -b=32768

For disks with multiple files like "DATA 01.DAT", "DATA 02.DAT", "DATA 03".DAT I guess it would copy "DATA.DAT" first, then the other lines would emit errors and not copy since "DATA.DAT" already exists.

Before I go further in to the toolshed sources, I thought I'd ask to see if anyone knows the syntax for spaces (if even supported).

		-- A


More information about the Coco mailing list