3 ms·
How do you feel about file extensions longer than three characters? How about filenames with multiple dots in them?
by jey 10y ago
How do you feel about file extensions longer than three characters? How about filenames with multiple dots in them?
- Stratoscope 10y agoNot sure what the question is here, can you clarify? Long extensions and multiple dots are perfectly valid in Windows filenames. I use them all the time. They're not like colon which has a special meaning referencing alternate streams.
- soundwave106 10y agoThe funny thing is that in most Windows tools, it doesn't mean even alternate file streams. It simply is flat out illegal (unless used as a drive letter); most tools will reject any program trying to save a file in the format of "filename:ADS". Even in managed code tools, it's this way. For instance, in C#, a statement like this: File.WriteAllText(@"c:\test.txt:teststream", "AFS test"); Will error with "path format is not supported". There's no way to access ADS natively in .NET. The only way to access ADS is to evoke native Win32 methods.
- jey 10y agoThese are things that seem normal to me that a Windows user might also describe as "weird", just like the GP post described colons in filenames.
- thiagobbt 10y agoI have no problem with it if they actually have a purpose, like .docx or .tar.gz