Tridiro
Board Regular
- Joined
- Apr 26, 2007
- Messages
- 97
Hello,
I have about 1300 .jpg files in a folder. the picture files are named a 6 digit number (548712.jpg). In column F resides the corresponding number to the pictures (548712). There are only about 500 numbers in column F.
I need some code that will delete the picture file if it's name is not in column F. Approximately 700 Pictures.
So.... in a nutshell, I need all the files deleted in a folder unless its name is in column F.
Thanks in advance
I have about 1300 .jpg files in a folder. the picture files are named a 6 digit number (548712.jpg). In column F resides the corresponding number to the pictures (548712). There are only about 500 numbers in column F.
I need some code that will delete the picture file if it's name is not in column F. Approximately 700 Pictures.
So.... in a nutshell, I need all the files deleted in a folder unless its name is in column F.
Thanks in advance