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

Christopher R. Hawks chawks at dls.net
Thu Jan 29 20:52:03 EST 2015


On Thu, 29 Jan 2015 13:04:05 -0600
Allen Huffman <alsplace at pobox.com> wrote:

> 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...

Allen:

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

works on Linux.

> "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
> 




Christopher R. Hawks
HAWKSoft
-- 
"Attention to Detail: noticing that the clock on one of your systems is
using Aleutian time, and changing all the others to match."
		-- Aeleen Frisch, on sysadmin virtues
		   "Essential System Administration"


More information about the Coco mailing list