Dir function except file type

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cutch1
    New Member
    • Jun 2007
    • 4

    Dir function except file type

    Hi, im using 2005 express, and i have a question about the dir function.

    Right now i have:
    Dir (path & "*.*", vbhidden)

    What i want to know is there anyway to except a certain file type.
    I want to find all of the file types except for one type.

    So i can't just use:
    Dir (path & "*.txt", vbhidden)
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Do you mean that you want to skip (for example) all text files, and find everything else?

    If so, I suspect you may need to do it yourself, by discarding the ones you don't want. That should be simple enough to do, though.

    Comment

    • Cutch1
      New Member
      • Jun 2007
      • 4

      #3
      thx for the help

      cutch1

      Comment

      Working...