Jump to content

Check wheter it's file or folder


Buffo
 Share

Recommended Posts

search for "." with stringinstr. all files have an extention. folders dont.

this will not work of course if the folder name has "." in it, but most extentions are also 3 characters so you could add some logic for that.

you can get pretty specific with minimal problems with this method.

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...