I'm scanning a folder with a few hundred files. Some of the files are "duplicates" that obsolete the originals and have endings such as "blahblah-2.dat" What I need to do is if I find that there is a "blahblah-2.dat", I then have to delete "blahblah.dat" because that one is obsolete. The problem here is that sometimes the original just isn't there. Someone already deleted it. So right now I have:
The problem is that if I do this, I can no longer use Dir() to jump to the next file in the directory. I'm not sure how I can fix this. Either I need a way to check for a file without using Dir, or find a command or something that will let me go back to scanning my directory as if nothing happened. I'm stumped.![]()
Please Login or Register to view this content.
![]()
Bookmarks