1
Finished Programs / DONE: Automatic folder maker
« on: August 27, 2009, 06:31 AM »
Hi peeps,
I have a "large problem" that can be fixed with a small piece of code...
I have 3000+ pdf files. Echt of the files has to come in a folder named the same as the pdf file..
The files are named: EBN000000001, EBN000000002, EBN000000003 enz. The folder name must be exact as the file name, however:
Some files are named EBN000000001_01, _02 etc. The files that have an underscore most come in the same folder as the master file.
So EBN000000001.pdf must come in folder EBN000000001. EBN000000001_01 must also come in folder EBN000000001.
So the folder must be made with the same name as the first 12 characters in the file name.
Then the files must be automatically placed in the right folder...
Is this easy doable?
Thanks in advance!
I have a "large problem" that can be fixed with a small piece of code...
I have 3000+ pdf files. Echt of the files has to come in a folder named the same as the pdf file..
The files are named: EBN000000001, EBN000000002, EBN000000003 enz. The folder name must be exact as the file name, however:
Some files are named EBN000000001_01, _02 etc. The files that have an underscore most come in the same folder as the master file.
So EBN000000001.pdf must come in folder EBN000000001. EBN000000001_01 must also come in folder EBN000000001.
So the folder must be made with the same name as the first 12 characters in the file name.
Then the files must be automatically placed in the right folder...
Is this easy doable?
Thanks in advance!