Anyone no how to compare a list of image files in a windows directory to a list of image names in my db? Also, if those image names do not exist in the windows directory I need to delete them from the directory.
Yes, my DB already exists. Basically what I need to do is remove any special characters (i.e. #, &, *, etc.) in the image name in my db. Got that taken care of. When I remove the characters, the image name will not match the file name in the windows directory. I need to be able to rename those file names to the new image name in the db. I am thinking there is probably an API call that will help out with this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.