[lkml]   [1998]   [Sep]   [24]   [last100]   RSS Feed
Messages in this thread
SubjectRe: [PATCH] Speeding up FAT operations
> What GWBASIC used to do was create a file using the FCB function call
> 0x16. Then, since it had the original File-Control-Block in its
> address-space, it would put any characters it wanted, including
> lower-case, in the FCB when it closed it. This is what got written
> to the disk. This is also the way Peter Norton 'opened' a directory
> as a file so that he could sort its contents.
> The original post was a warning that one should not assume that there
> are no "incorrect" characters in a MS-DOS file-name. I can easily
> create a file called "*.*" and or "???????????", which can cause some
> problems with 'rm', etc., although such file-names are usually
> 'created' during a disk error.

The FCB is a DOS system call. You can't create a file named
???????????? etc with even an FCB system call.

the body of a message to
Please read the FAQ at

 \ /
©2003-2011 Jasper Spaans