3 ms·
Because "empty"/unused characters of the name (including the extension) shall be filled with the space character. As the names are fixed to 8.3 there is no suc
by PinguTS 8y ago
Because "empty"/unused characters of the name (including the extension) shall be filled with the space character.
As the names are fixed to 8.3 there is no such thing as length detection/indication for the string.
- code_duck 8y agoThat’s a description of part of the problem, not a reasonable excuse.
- red_admiral 8y agoDidn't lots of SQL databases' CHAR(n) type used to be space-padded instead of null-padded too? If I had to guess, DOS simply copied that idea: filename=CHAR(8), ext=CHAR(3) with three blanks the "NULL" value.
- dragonwriter 8y ago> Didn't lots of SQL databases' CHAR(n) type used to be space-padded instead of null-padded too? If I had to guess, DOS simply copied that idea DOS couldn't have copied what lots of SQL databases did, since DOS was being written around the same time as the first SQL databases. My guess would be that, like the three character extension itself, this came from CP/M, not SQL.