Naff coding
Steve Pampling (1551) 8170 posts |
A side discussion in Community support covered the lamentable behaviour of MS Word and its auto-created filenames taken from the first text in the document. in fact it created the document name from the first paragraph, which for sensible documents was usually the title. However, a bit of cut and paste, paste, paste… shows that the limit is 242 for some reason and although it accepts a comma in a manually added filename the auto filename generation breaks at the comma. Sample text this won’t make it past the apostrophe so the rest is irrelevant. |
Rick Murray (539) 13840 posts |
FTFY. 😉 |
Steve Pampling (1551) 8170 posts |
Well, yes, but the starting subject was ‘dodgy’ character use in filenames. |
Alan Adams (2486) 1149 posts |
and to my surprise, a file with a name that long can be dragged to RISC OS using LanmanFS. 242 characters can’t be much less than the limit imposed by the use of messages (255 character limit) tocommunicate. |
Steve Pampling (1551) 8170 posts |
What about when you put it in a directory in a directory in a… The real question is why anyone would want an actual file leafname of 242 characters anyway. More to the point is that even in Windows (under the bonnet so to speak) a space is a delimiter so to include a file called “this file” you must put quotes around the whole thing. Essentially Word auto-generates filenames and breaks off at exactly the wrong characters. It should break off at a space it should not break off at an apostrophe or comma etc. 1 That should be noted as perpendicular or right-angles to the normal, but as Clive pointed out with Americans2 it’s actually “at wrong angles” to the rest of the world. 2 I’m sure there are some that are properly educated, I wonder if there’s enough to vote Trump out. |
Grahame Parish (436) 481 posts |
But then you will confuse all the users who just write letters, as everything will attempt to save as “Dear.docx” |
Steve Pampling (1551) 8170 posts |
There’s no hope for people like that1. Of course, you do wonder how they currently file Dear Sir(1).docx, Dear Sir(2).docx, Dear Sir(3).docx etc.2 1 I’m not sure precisely why but an old, apocryphal, story comes to mind. 2 Plus, you’d need to be a bit geeky to have changed the default hide of file extension anyway and Dear Sir(1).docx and Dear Sir(1).xlsx could be “interesting” with the extension hidden. |
Grahame Parish (436) 481 posts |
I used to have that as an audio file, back in the days of Windows 95! |
Steve Pampling (1551) 8170 posts |
Audio? New fangled stuff. It was text on DOS… :) |