My question is very similar to the question posted [here](https://stackoverflow.com/questions/5183853/batch-to-find-file-copy-file-then-rename-file-from-a-csv) on stackoverflow but the difference for me is that I need the batch script to do the following

1. Look at a csv file which has the name only without the image extension and find the image with that name in a particular directory
2. Then take that file and copy it to another directory

What modifications would I need to do to this batch script to accomplish that task?

```
 @echo off 
 for /f "tokens=1,2 delims=," %%j in (project.csv) do ( 
   copy "%%j.jpg" c:\mytestproject\newimages 
   rename c:\mytestproject\newimages\%%j.jpg" %%k.jpg 
 )

```