|Yes, exactly ... however, this command still duplicates the existing "%%~PNi_wgs.shp" copy so I end up with "%%~PNi_wgs_wgs.shp".|
I got that result with another attempt, but different set of commands:
did not work:
if not exist *_wgs.shp for /r %%i in (*.shp) do copy "%%i" "%%~pni_wgs.shp"
I understand you can include multiple file sets in the in section, such as:
in (*.shp *.doc *.txt)
However, I have not been successful in performing a negative set.