[Coco] Attn Darren: CoCoSDC standalone commands?
Darren A
mechacoco at gmail.com
Sun Dec 28 11:08:10 EST 2014
On Sun, Dec 28, 2014 at 7:31 AM, Brett Gordon <beretta42 at gmail.com> wrote:
> Darren:
>
> I see two undocumented commands for deleting files (X:) and kreating
> dirs (K:)! Cool. This is good to know. I'm assuming they operate
> just like the other "0Xe0" commands? Are the returned error codes the
> same as the other "0xe0" commands too ?
>
Yes, they work the same way.
There is also a Rename command (R:). That one requires a second
null-terminated string (new leaf name) to be included in the 256 byte data
block immediately following the first string.
C$ = "R:PATH/TO/OBJECT.EXT"+CHR$(0)+"NEWNAME.EXT"+CHR$(0)
Darren
More information about the Coco
mailing list