Steveiwonder Posted February 19, 2010 Share Posted February 19, 2010 (edited) Hey All,Need some help here$filesfolders = _FileListToArray() ;For this example lets say it returns these.. $filesfolders = file.txt $filesfolders = file1.dll $filesfolders = file2.oscx $filesfolders = folder.pewpew $filesfolders = folder102_The above files / folders are random example i have made upOnce i have all the files & folders list, how do you then determine what each element of the array contains, a file or folder?Tried using some work arounds with functions like FileGetVersion, etc etc.. but it won't work.Don't see any functions that can help and using a reg exp to determine whether if there is an "extention" is not going to cut it.Anyone got any ideas? Edited February 19, 2010 by Steveiwonder They call me MrRegExpMan Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now