Batch command to organise files that share the similar name

May 3, 2012 at 00:27:58
Specs: Windows 7
Hi guys, I have problem with organising files and folders. I am currently managing large volumes and data, which needs anyones input to manage it more efficiently and quickly, if possible. Any help to automate the both scenarios (as described below) in window 7 using command prompt, would be highly appreciated.

I have almost 1500 files in which few files share the same name as below.

1st Scenario



I want to generate a folder based on .pdf file and move all the files that share the particular file name into the folder just created based on .pdf file name. I have windows 7 system X64-bit. Is there any quick way to do organise all the files ? A DOS script would be great.

2nd Scenario

I have already created folders for each pdf and I have the associated .tif and .zip files that share the same folder name are left behind. I want to move those relevant files to the folder that share the same name.



I want to move AAA.* to AAA folder and BCD.* to BCD folder.

I think it is fairly easier to deal one folder at a time and I know that but I dont how to apply the same for several files and folders.

A quick reply would be much appreciated.

Awaiting for your answers.

Thanks kindly

See More: Batch command to organise files that share the similar name

Report •

May 3, 2012 at 01:42:26
vbrsekhar, my 'off the top of my head' reaction is yes. Suspect you'll get more and more knowledgeable responses in the programming forum @:
Ed in Texas

Report •

May 3, 2012 at 22:41:18
Thanks HTH, I will post there again.

Report •
Related Solutions

Ask Question