Why is FileInfo showing an extra file extension?

后端 未结 2 1847
难免孤独
难免孤独 2021-01-26 18:07

I have been having problems with creating a download list of files for a downloader and was getting unexplained \"File Does Not Exist\" returns. My .avi files were returning fo

相关标签:
2条回答
  • 2021-01-26 18:37

    Windows has a "feature" that hides file extensions for known file types. Always turn that off or you'll find yourself creating problems like this.

    0 讨论(0)
  • 2021-01-26 18:45

    Have you checked that "Tools > Folder Options > View > Hide extensions for known file types" is unchecked?

    The option should be in (more or less) the same place on Windows Server 2008, I'm answering from home so I only have XP Pro to go on ;)

    Obvious I know, but it sometimes is the obvious answer that we overlook.

    Just to add - there's no option to show the extension in a separate column.

    0 讨论(0)
提交回复
热议问题