[Coco] Atom IDE + toolshed

pfitchjr at bellsouth.net pfitchjr at bellsouth.net
Sat Mar 14 11:46:31 EDT 2020


To cut back on all the extra confusion, I made a new floppy image with only source files on it. No directories at all. I also gave up on trying to drop the files into a host sub-directory.  Just a straight copy, just like the example in the docs for "COPY" 

The I ran the following command in my batch file (which failed). 

os9 dsave -b=24k -r -e MISC.DSK,. . 

The output of this command was:

currentfolder Misc
projectfolder C:\Misc
"C:\Program Files (x86)\toolshed-2.2\os9.exe" dsave -b=24k -r -e MISC.DSK,. Misc,
"C:\Program Files (x86)\toolshed-2.2\os9.exe" dsave -b=24k -r -e MISC.DSK,. . 
copy: error 215 on file ''MISC.DSK,./startrek.bas'': badly formed pathname
copy: error 215 on file ''MISC.DSK,./taipan.b09'': badly formed pathname
copy: error 215 on file ''MISC.DSK,./c.hlp'': badly formed pathname
copy: error 215 on file ''MISC.DSK,./runb.hlp'': badly formed pathname
copy: error 215 on file ''MISC.DSK,./r3systems.hlp'': badly formed pathname
copy: error 215 on file ''MISC.DSK,./s09.hlp'': badly formed pathname
copy: error 215 on file ''MISC.DSK,./pt.hlp'': badly formed pathname
copy: error 215 on file ''MISC.DSK,./s.hlp'': badly formed pathname
copy: error 215 on file ''MISC.DSK,./m.hlp'': badly formed pathname
os9 copy 'MISC.DSK,./startrek.bas' './startrek.bas' -r -b=245760
os9 copy 'MISC.DSK,./taipan.b09' './taipan.b09' -r -b=245760
os9 copy 'MISC.DSK,./c.hlp' './c.hlp' -r -b=245760
os9 copy 'MISC.DSK,./runb.hlp' './runb.hlp' -r -b=245760
os9 copy 'MISC.DSK,./r3systems.hlp' './r3systems.hlp' -r -b=245760
os9 copy 'MISC.DSK,./s09.hlp' './s09.hlp' -r -b=245760
os9 copy 'MISC.DSK,./pt.hlp' './pt.hlp' -r -b=245760
os9 copy 'MISC.DSK,./s.hlp' './s.hlp' -r -b=245760
os9 copy 'MISC.DSK,./m.hlp' './m.hlp' -r -b=245760

I then copied the NINE lines above beginning in "os9 copy..." to my batch file and started playing with them until they worked. The working versions looked like this:

os9 copy MISC.DSK,./startrek.bas ./startrek.bas -r -b=245760
os9 copy MISC.DSK,./taipan.b09 ./taipan.b09 -r -b=245760
os9 copy MISC.DSK,./c.hlp ./c.hlp -r -b=245760
os9 copy MISC.DSK,./runb.hlp ./runb.hlp -r -b=245760
os9 copy MISC.DSK,./r3systems.hlp ./r3systems.hlp -r -b=245760
os9 copy MISC.DSK,./s09.hlp ./s09.hlp -r -b=245760
os9 copy MISC.DSK,./pt.hlp ./pt.hlp -r -b=245760
os9 copy MISC.DSK,./s.hlp ./s.hlp -r -b=245760
os9 copy MISC.DSK,./m.hlp ./m.hlp -r -b=245760

So the PROBLEM here is the SINGLE QUOTES. Remove those, and the script works. 

However, I also noticed another issue. If I choose the '-l' flag, all of the output copy strings look like this:

os9 copy MISC.DSK,./m.hlp ./m.hlp -l-r -b=245760 <-- where the "-l-r" causes the line to error out.

And one final note...why is my -b=24K translating into -b=245760?






More information about the Coco mailing list