In c:\bunke6\ I have different TIFF World files with filenames like
where * = various text;
e.g. AR_Iddjajavri_2034-2_1983_50000_utm35_400.tfw and Jord_cwx109110_1975_10000_ngo3_100.tfw
I would like to have a batch-file (e.g. "make_prj.bat") that depending on the appearance of utm32, utm33, utm35, ngo1, ngo2,..., ngo8 in the filename of the tfw-file, copies a file utm32.prj, utm33.prj, ..., ngo1.prj, ... or ngo8.prj from the folder r:\projeksjoner\ to c:\bunke6\ and renames it to the same name as the corresponding tfw-file.
then copy utm35.prj from r:\projeksjoner\ to c:\bunke6\ and
rename utm35.prj to AR_Iddjajavri_2034-2_1983_50000_utm35_400.prj
I have tried different "for" and "findstr" approaches based on other posted questions and answers on computing.net, but without any luck so far.
I would appreciate any help.