I have built a little batch file to copy a file from one place to another and rename it. This worked great but what i would like to do is if the file exists just skip it. i don not want to overwrite. I have looked at copy, xcopy and robocopy and cant quite figure out how to do this using variables like you see below. I have proven all the variables you see below hold the right value. Can anyone help me?
copy /b "C:\Users\tertom01\Desktop\BatchFiles\Project Docs\PPE.docx" "%fold%\Quality\%pnum%-%psuf% PPE.docx"
copy /b "C:\Users\tertom01\Desktop\BatchFiles\Project Docs\PPE.docx" "%fold%\Quality\%pnum%-%psuf% PPE.docx"