PC Review


Reply
Thread Tools Rate Thread

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

 
 
joseafonsob@yahoo.com
Guest
Posts: n/a
 
      24th Apr 2007
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!

 
Reply With Quote
 
 
 
 
Matthias Tacke
Guest
Posts: n/a
 
      24th Apr 2007
(E-Mail Removed) wrote:
> 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?

--
Greetings
Matthias
 
Reply With Quote
 
Todd Vargo
Guest
Posts: n/a
 
      24th Apr 2007

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Copy or move external binary file t another directory? Dirk Goldgar Microsoft Access 0 29th Apr 2008 01:22 AM
Re: Copy or move external binary file t another directory? Larry Linson Microsoft Access 0 29th Apr 2008 01:06 AM
Move File to New Directory =?Utf-8?B?RGF2aWQ=?= Microsoft Excel Programming 6 31st Dec 2006 09:02 PM
How to move the data (contacts, etc.) .pst file to another directory in 2000 Leo Bueno Microsoft Outlook Discussion 3 21st Dec 2006 04:37 PM
Move a file from one directory to other. =?Utf-8?B?Tmlyb24ga2Fn?= Microsoft C# .NET 5 5th Jun 2006 08:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:00 AM.