Add a prefix to a file and move it to anther directory

  • Thread starter Thread starter joseafonsob
  • Start date Start date
J

joseafonsob

Hi all,

I would like to get some help on making a batch that is supposed to
read the content from 3 different directories,
add a prefix on each file and move it to another directory.

So the input should be something like this

C:\input1
C:\input2
C:\input3

All these 3 directories have files with the same naming convention so
I need to add a prefix for each one of them and move the content of
all the three directories to just one final directory with the prefix
already.

imagine that in C:\input1, C:\input2 and in C:\input3 I have the same
naming convention for the files.

I need a prefix for the content for C:\input1,another prefix for C:
\input2 and another one for C:\input3

and finnaly move all these changed files with the new prefix to a
final directory

Thank you ver much for the help!
 
Hi all,

I would like to get some help on making a batch that is supposed to
read the content from 3 different directories,
add a prefix on each file and move it to another directory.
Hi,
your lengthy postings lacks still some details.
WHAT prefix should be used and - as we shall help - and not do your work,
what have you got so far?
 
Hi all,

I would like to get some help on making a batch that is supposed to
read the content from 3 different directories,
add a prefix on each file and move it to another directory.

So the input should be something like this

C:\input1
C:\input2
C:\input3

All these 3 directories have files with the same naming convention so
I need to add a prefix for each one of them and move the content of
all the three directories to just one final directory with the prefix
already.

imagine that in C:\input1, C:\input2 and in C:\input3 I have the same
naming convention for the files.

I need a prefix for the content for C:\input1,another prefix for C:
\input2 and another one for C:\input3

and finnaly move all these changed files with the new prefix to a
final directory

Thank you ver much for the help!

We do not do other peoples homework! If you want "help", give better details
and show what code you have written so far.
 
Back
Top