I want to concatenate strings in a batch file because I need to parameterize in the batch file (.bat) to use paths frequently. So instead of writing:
ren "C:\Folder\Sub Folder\filename.ext.tmp" "C:\Folder\Sub Folder\filename.ext"
del "C:\Folder\Sub Folder\filename.ext.tmp"
I would like to write something like
set pathString="C:\Folder\Sub Folder\"
ren pathString+"filename.ext.tmp" pathString+"filename.ext"
del pathString+"filename.ext.tmp"
Is this somehow doable? If so how? Thanks!