Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. file extensions

file extensions

Scheduled Pinned Locked Moved The Lounge
50 Posts 34 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z zoid

    Is there any (compelling) reason to continue using 3 character file extensions? I am in the process of choosing the extensions that my app will use and I am leaning toward using 4 - 6 character extensions. The main reasons are: To avoid colisions with extensions that are used by other apps. The extension names do a better job explaning what kind of data is stored in the file. I am worried however, because it seems almost applications still use 3 letter extensions for their files. Aside from compatibilty issues with old 8.3 format DOS systems which I think for 99% of current applications isn't an issue anymore, why are people avoiding using longer file extensions for new formats?

    P Offline
    P Offline
    patbob
    wrote on last edited by
    #41

    Don't some (really small) USB flash drives use FAT16? I can't recall if MS ever retrofitted long filenames into that file system like they did with FAT32. Floppies (yeah, like anyone cares about _those_ anymore) are another reason. I don't think anybody is still using WinFW3.1 anymore, so probably no issue on that front. I didn't care when I made up our new file format at work, but since our files tend to be in the 20-160GB range, it didn't matter anyway. :)

    patbob

    1 Reply Last reply
    0
    • Z zoid

      Is there any (compelling) reason to continue using 3 character file extensions? I am in the process of choosing the extensions that my app will use and I am leaning toward using 4 - 6 character extensions. The main reasons are: To avoid colisions with extensions that are used by other apps. The extension names do a better job explaning what kind of data is stored in the file. I am worried however, because it seems almost applications still use 3 letter extensions for their files. Aside from compatibilty issues with old 8.3 format DOS systems which I think for 99% of current applications isn't an issue anymore, why are people avoiding using longer file extensions for new formats?

      E Offline
      E Offline
      Ever Green
      wrote on last edited by
      #42

      MS use an extension .csproj...

      Sigh

      1 Reply Last reply
      0
      • S Shog9 0

        Something which never ceases to frustrate and annoy me.

        ----

        ...the wind blows over it and it is gone, and its place remembers it no more...

        J Offline
        J Offline
        jara88884
        wrote on last edited by
        #43

        Also most applications to use or read the extensions must recognise the longer extension before it will open it.

        1 Reply Last reply
        0
        • G Gary R Wheeler

          peterchen wrote:

          "hide known extensions"

          Very possibly the dumbest program option I've ever seen :|.


          Software Zen: delete this;

          Fold With Us![^]

          K Offline
          K Offline
          Kelly Herald
          wrote on last edited by
          #44

          I agree completely! Not to mention that when some people see a file VacationPic.jpg in their explorer they will double click it thinking that is is a "harmless" JPEG picture when in reality it could be a virus file named VacationPic.jpg.exe with an embedded icon set to Window's image icon to complete the illusion that it is just an image file.

          Kelly Herald Software Developer

          1 Reply Last reply
          0
          • Z zoid

            Is there any (compelling) reason to continue using 3 character file extensions? I am in the process of choosing the extensions that my app will use and I am leaning toward using 4 - 6 character extensions. The main reasons are: To avoid colisions with extensions that are used by other apps. The extension names do a better job explaning what kind of data is stored in the file. I am worried however, because it seems almost applications still use 3 letter extensions for their files. Aside from compatibilty issues with old 8.3 format DOS systems which I think for 99% of current applications isn't an issue anymore, why are people avoiding using longer file extensions for new formats?

            P Offline
            P Offline
            PeterFromMelba
            wrote on last edited by
            #45

            The challenge.:laugh: Seriously, there are longer extensions e.g. aspx, ascx, html, etc. PeterE

            1 Reply Last reply
            0
            • Z zoid

              Is there any (compelling) reason to continue using 3 character file extensions? I am in the process of choosing the extensions that my app will use and I am leaning toward using 4 - 6 character extensions. The main reasons are: To avoid colisions with extensions that are used by other apps. The extension names do a better job explaning what kind of data is stored in the file. I am worried however, because it seems almost applications still use 3 letter extensions for their files. Aside from compatibilty issues with old 8.3 format DOS systems which I think for 99% of current applications isn't an issue anymore, why are people avoiding using longer file extensions for new formats?

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #46

              zoid ! wrote:

              Is there any (compelling) reason to continue using 3 character file extensions?

              For some reason I like those three letter extensions, it feels more natural.

              zoid ! wrote:

              I am worried however, because it seems almost applications still use 3 letter extensions for their files. Aside from compatibilty issues with old 8.3 format DOS systems which I think for 99% of current applications isn't an issue anymore, why are people avoiding using longer file extensions for new formats?

              I wouldn't worry about it. Go for the longer extension. I think people still use the 8.3 format because certain tools do not support anything else. Such as restore disks and hardware utilities that use DOS. Windows 95/98/Me need the 8.3 format for its most primitive functions under the hood since Windows 9x/Me uses DOS to load its self.

              █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

              J 1 Reply Last reply
              0
              • L Lost User

                zoid ! wrote:

                Is there any (compelling) reason to continue using 3 character file extensions?

                For some reason I like those three letter extensions, it feels more natural.

                zoid ! wrote:

                I am worried however, because it seems almost applications still use 3 letter extensions for their files. Aside from compatibilty issues with old 8.3 format DOS systems which I think for 99% of current applications isn't an issue anymore, why are people avoiding using longer file extensions for new formats?

                I wouldn't worry about it. Go for the longer extension. I think people still use the 8.3 format because certain tools do not support anything else. Such as restore disks and hardware utilities that use DOS. Windows 95/98/Me need the 8.3 format for its most primitive functions under the hood since Windows 9x/Me uses DOS to load its self.

                █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

                J Offline
                J Offline
                JMOdom
                wrote on last edited by
                #47

                This may sound like a stupid question, but here goes anyway. :laugh: Why doesn't somebody write a program that will set the file extensions to what you want and then shorten them if the need comes up? Say you save a file with a .document extension for internal use and it gets chopped to .doc if it gets sent anyplace other than the starting computer. :confused: :~ Just my two cents worth. (Which today really aint worth all that much.) ;P

                L 1 Reply Last reply
                0
                • J JMOdom

                  This may sound like a stupid question, but here goes anyway. :laugh: Why doesn't somebody write a program that will set the file extensions to what you want and then shorten them if the need comes up? Say you save a file with a .document extension for internal use and it gets chopped to .doc if it gets sent anyplace other than the starting computer. :confused: :~ Just my two cents worth. (Which today really aint worth all that much.) ;P

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #48

                  JMOdom wrote:

                  Say you save a file with a .document extension for internal use and it gets chopped to .doc if it gets sent anyplace other than the starting computer.

                  An extension is nothing special. It is just part of the file's name. However the extension is used to determine which program to open the file with. If the program opening the file actually looks at the extension then it may throw a fit. Your proposal is not a practical solution for anything because the extension is part of the file's identity.

                  █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

                  J 1 Reply Last reply
                  0
                  • L Lost User

                    JMOdom wrote:

                    Say you save a file with a .document extension for internal use and it gets chopped to .doc if it gets sent anyplace other than the starting computer.

                    An extension is nothing special. It is just part of the file's name. However the extension is used to determine which program to open the file with. If the program opening the file actually looks at the extension then it may throw a fit. Your proposal is not a practical solution for anything because the extension is part of the file's identity.

                    █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

                    J Offline
                    J Offline
                    JMOdom
                    wrote on last edited by
                    #49

                    Didn't say that it was a good idea. :rolleyes: It was just an off the wall suggestion made late at night while half asleep. ;) ;P

                    1 Reply Last reply
                    0
                    • A Andy Brummer

                      Why? Do you have a lot of .jpg.cpp files?


                      Using the GridView is like trying to explain to someone else how to move a third person's hands in order to tie your shoelaces for you. -Chris Maunder

                      J Offline
                      J Offline
                      joon vh
                      wrote on last edited by
                      #50

                      MS Uses it a lot actually. .docx .config .resx .aspx.cs .csproj.webinfo if math hasn't forsaken me going from 3 to 6 chars makes for 308915776 instead of 17576 ...

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups