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

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!
 
M

Matthias Tacke

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?
 
T

Todd Vargo

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top