I have a directory (source) with a bunch of files and these two dlls
file1.dll
file2.dll
I want to copy these to destination but on the copy have them renamed
file1_a.dll
file2_a.dll
Basically append _a to every dll copied
I need a very basic way to generate this script with a batch file
Can’t use perl because it’s not built in to windows.
Is vbs my best option?
I tried good old
copy *.dll *64.dll
but that was a no go.
Use the
forcommand:Remember to use a double % (
%%) if used in a batch file.