Hi all,
I have a little challenge for you all that should be pretty easy to sort out if you have even a modicum of scripting knowledge, which sadly I do not, I really must get round to learning someday.
I have a whole bunch of files, approx 2500 so far, but increasing daily, that are all of the format
B1000.hdr, B1000.log, B1000.plg, B1000.alg, B1000.slg, B1000.hlg, B1000.clg, B1000.eot, B1000.fin.
then the next bunch are named B1001...., then B1002....., etc, etc, you get the picture I hope.
These files need moving from one folder, where they are all jumbled up together, in to another set of folders that are more organised.
The new folders are in a set of directories named as
B1000 - B1999
B2000 - B2999
etc etc
In each directory I need the folders named
B1000
B1001
B1002
etc etc
Then the files with extension names .log, .plg, .alg, .slg, .hdr, need copying into their appropriate folder. The other files can be left in the original folder.
Up to now I have been creating new folders manually and copying and pasting the necessary files, as you can imagine, this is somewhat tedious and mind numbingly boring.
I am sure a little script or batch file could make the job so much easier and faster, but I do not have a clue wher to start, so I am calling on the vast knowledge and expertise of OCUK to help stop my fingers wearing away to nothing.
Obviously if there is any more info needed just ask.
Thank you, and sorry for the length of the post.
I have a little challenge for you all that should be pretty easy to sort out if you have even a modicum of scripting knowledge, which sadly I do not, I really must get round to learning someday.
I have a whole bunch of files, approx 2500 so far, but increasing daily, that are all of the format
B1000.hdr, B1000.log, B1000.plg, B1000.alg, B1000.slg, B1000.hlg, B1000.clg, B1000.eot, B1000.fin.
then the next bunch are named B1001...., then B1002....., etc, etc, you get the picture I hope.
These files need moving from one folder, where they are all jumbled up together, in to another set of folders that are more organised.
The new folders are in a set of directories named as
B1000 - B1999
B2000 - B2999
etc etc
In each directory I need the folders named
B1000
B1001
B1002
etc etc
Then the files with extension names .log, .plg, .alg, .slg, .hdr, need copying into their appropriate folder. The other files can be left in the original folder.
Up to now I have been creating new folders manually and copying and pasting the necessary files, as you can imagine, this is somewhat tedious and mind numbingly boring.
I am sure a little script or batch file could make the job so much easier and faster, but I do not have a clue wher to start, so I am calling on the vast knowledge and expertise of OCUK to help stop my fingers wearing away to nothing.
Obviously if there is any more info needed just ask.
Thank you, and sorry for the length of the post.