"Jerry" <jerry@xxxxxx> wrote in message
news:PWn2l.3037$jZ1.652@xxxxxx
> Hopefully someone can help me with this. I am a scripting idiot, but I
> think a script is what I need for this task. I have 2 computers at home
> and about 12 hard drives that I need to hook up and search for files. I
> would guess over the years, it could be in excess of 10000 and more of
> them. I would like to have something that would search for the files by
> wildcard such as *.doc or *.xls and *.ppt or whatever and when it finds
> them, move them to a specific folder. A lot of them will be duplicates, so
> I would like it to overwrite duplicate file names without a prompt so I
> could run this thing and forget it. So, I would give it a file type and a
> drive letter to search and then a folder name to move them to. Is a script
> the best way to do this, or is another program available to do this. I
> have done a lot of searching but don't much understand the code when I
> find something similar to what I need, so I need a lot of help if
> possible.
>
> Thanks,
> Jerry If I understand you correctly then you wish to move all .doc files (for
example) to a "Documents" folder, regardless of their current location and
name. You can certainly do this with scripts but I have serious doubts about
such a move. Here are the two main reasons:
- Your action will destroy any folder structure that you might have
previously maintained on your disk. All .doc files will be tossed into one
big bucket.
- It is highly likely that you have duplicate names but that the files
contain completely different information. Your action will destroy all but
one of these files.
Do you still wish to go ahead?