[Coco] NitrOS-9 copdir command
dgacke at ektarion.com
Wed Jul 28 22:20:09 EDT 2004
For Windows it's 260 chars as odd as that seems.
IF you use Visual C++ to build Windows software, theres a #define called
MAX_PATH which is define in one of the Microsoft header files that sets
From: coco-bounces at maltedmedia.com [mailto:coco-bounces at maltedmedia.com]
On Behalf Of KnudsenMJ at aol.com
Sent: Wednesday, July 28, 2004 9:04 PM
To: coco at maltedmedia.com
Subject: Re: [Coco] NitrOS-9 copdir command
In a message dated 7/28/04 2:45:59 PM Eastern Daylight Time,
idezilla at yahoo.com writes:
> The "copdir" command works great.
> Would like to change it's internal
> filename length. Sometimes it refuses
> long filenames. Anyone got the source?
Are you talking OS-9 or Windows/Mac file names? The latter are allowed
255 chars (ISTR), which is unlimited as far as humans are concerned.
OS-9 is a bit tricky. The 6809 version allows 29-char filenames, but in
(68K version, as in MM/1) the length dropped to 28 chars, to allow an
byte for sector offset.
I got burnt by this when transferring a disk full of files from Coco to
Ended up with a 29-to-28-char filename that couldn't finished being
created, but couldn't be deleted either. Anyway, you should allow at
least 29 chars.
Coco mailing list
Coco at maltedmedia.com
More information about the Coco