1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Documentation @exetype[]

Discussion in 'Support' started by Charles G, Jun 19, 2017.

  1. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,021
    Likes Received:
    0
    What file extensions, besides EXE, would be good for this function? From the CHM I believe it would be at least:

    PIF
    COM

    Not sure of others.
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    And .DLL and .SCR, and maybe .VXD.... You can feed this function the name of any file which is readable, but for most it will just return 0.
     
  3. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,021
    Likes Received:
    0
    Thank you Charles. I guess I want to see what extensions would return something other then 0.

    @djsplits - i'd like to use @exetype on the file extensions that would return non-zero values for this function. think the routine only does EXE files now?
     
  4. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    Oh, and .CPL.
     
  5. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,021
    Likes Received:
    0
    So the list is:

    COM
    CPL
    DLL
    EXE
    PIF
    SCR
    VXD (?)
     
  6. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,021
    Likes Received:
    0
    I guess EXE is the only type that exetype[] would return multiple possible values.
     

Share This Page