[Coco] Attn Darren: CoCoSDC standalone commands?
Bill Pierce
ooogalapasooo at aol.com
Sun Dec 28 16:37:35 EST 2014
Darren, can the "new" commands (R, K, & X) have relative and absolute paths? or must they be absolute?
Bill Pierce
"Today is a good day... I woke up" - Ritchie Havens
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com
-----Original Message-----
From: Darren A <mechacoco at gmail.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Sun, Dec 28, 2014 11:08 am
Subject: Re: [Coco] Attn Darren: CoCoSDC standalone commands?
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
--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list