I am trying to write a chunk of code to recursivly read a directory from a given location and add it to a DB. I have most of it working. I do however have 2 problems.
1. for some reason it is dropping all the / from the path. d:/pics/fun becomes dicsfun
2. part way down the list it has both the path and filename in the db.
ie. d:/pics/fun/001.bmp goes in as:
filename currentpath
001.bmp dicsfun001.bmp




icsfun
Reply With Quote