There is a rule of thumb that says don't use more than one dot in a file name nevertheless my.little.document.docx is a perfectly valid Windows file name. In fact Microsoft itself uses them in, for example, web.config.old. So I would humbly suggest that assuming anything after a dot is a file extension and removing or replacing it is not strictly correct and may have unfortunate consequences as the OP discovered.
To avoid confusion I never use a dot in a filename.
My preference is for _ where I need a space (I used to have a
programme that got upset if you presented a filename with spaces
such as ‘my little document.xxx’
If I need to show versions then I use - . e.g. 'document-v1.xxx
IanF
···
On 18/09/2018 14:32, ‘Richard Creer’
[sailwave] wrote:
There is a rule of thumb that says don't use more than one dot in a file name nevertheless my.little.document.docx is a perfectly valid Windows file name. In fact Microsoft itself uses them in, for example, web.config.old. So I would humbly suggest that assuming anything after a dot is a file extension and removing or replacing it is not strictly correct and may have unfortunate consequences as the OP discovered. ------------------------------------ Posted by: "Richard Creer" ------------------------------------ -!- -!- -!- -!- On-Line Sailwave help...http://sailwave.com/help/HTML ~ Mark Townsend's Sailwave User Guide is available from ~ Convert to daily digest of emails send blank email to ~ To unsubscribe from the SUG please send blank email to ------------------------------------ Yahoo Groups Links <*> To visit your group on the web, go to: <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: (Yahoo! ID required) <*> To change settings via email: <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo Groups is subject to:
richard@radixsoftware.co.ukhttp://www.yachtsandyachting.com/http://www.sailing.org/http://www.sailwave.com/http://www.sailwave.com/download/sailwave/Sailwave_ABYC_User_Guide.pdfsailwave-digest@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://groups.yahoo.com/group/sailwave/http://groups.yahoo.com/group/sailwave/joinsailwave-digest@yahoogroups.comsailwave-fullfeatured@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttps://info.yahoo.com/legal/us/yahoo/utos/terms/