Hi, i was wondering if somebody can point me
in the right direction with a problem i have, my
problem is im trying to create a Batch Script
which first of all creates a new folder which will
be called ‘Finished’, it will then go into and
copy all files in sub folders into this new
‘Finished’, simple enough, but there will be a
likelyhood of files from different sub folders
which will have the exact same file name as
files which have already been copied to this
‘Finished’ folder, ive had a play around already
and ive noticed it just overwrites the file if they
have the same file name, which is what i dont
want, and thats where im stuck. i imagine id
want some kind of if statement where if a file
has the same file name as one that has
already been copied, add a (1), (2), (3) ect
ect.. to the end of that file name then copy it.
Ive created a test area with some test files and
this is the batch code ive come up with so far
md Finished
cd folder 1
copy * ..\Finished
cd ..\
cd folder 2
copy * ..\Finished
cd ..\
Im relatively new to creating Batch files but
have a better background on VBA, not sure if
theres a better way than batch script?
ANY help is much appreciated, Thanks.
translation):