Copying, and Renaming files in a windows directory
Posted on 2008-10-07
COPY "[source file]" "[destination file or folder]"
e.g. COPY "C:\myfolder\testfile.txt" "C:\myfolder\10-1-08.txt"
I am using a .BAT file with the code above.
I would like to be able to copy all the files in the directory and rename them.
COPY "C:\myfolder\array" "C:\myfolder\array1"
e.g. testfileA.txt and testfileB.txt are in the directory before running the .bat file
one the .bat file is run, the directory will have testfileA1.txt and testfileB1.txt
Is this possible?