Hi,
I'm working in vb.net
What I need to do is to rename image files that exist in a file structure to a new naming convention based on data in a text file. Can anyone look at this and let me know what I need to do???
My text file looks like this:
SCANNED_DATETIME|PERMIT_ID|OLD_NAME
20120404|37|20120404.AEY
20010108|36|20010108.AA7
20130326|34|20130326.AC2
the corresponding image files (C:\Temp\201204\20120404.AEY )are in folders named for example 201204 for the first item in the list. I need to move this image from where it currently is to a new folder named 20120404 and rename the image file to 37_0001.tif
I can easily create a target folder and move them but I don't understand how to rename them.
Please let me know if I can provide any other info.
Thanks!!
I'm working in vb.net
What I need to do is to rename image files that exist in a file structure to a new naming convention based on data in a text file. Can anyone look at this and let me know what I need to do???
My text file looks like this:
SCANNED_DATETIME|PERMIT_ID|OLD_NAME
20120404|37|20120404.AEY
20010108|36|20010108.AA7
20130326|34|20130326.AC2
the corresponding image files (C:\Temp\201204\20120404.AEY )are in folders named for example 201204 for the first item in the list. I need to move this image from where it currently is to a new folder named 20120404 and rename the image file to 37_0001.tif
I can easily create a target folder and move them but I don't understand how to rename them.
Please let me know if I can provide any other info.
Thanks!!