Hi i'm an imposition specialist. I need to move files that are all present in one folder to folders that are of the file names. formats are (2).pdf and .psd. I need a batch file that will read the file name, make a folder of part of that file name and move all files that start with that file name into that folder regardless the extension.
For example, if I have 9 files named as
111111_1_abcde - pdf
111111_001_Cut - psd
111111_1_Bar - pdf
222222_2_abcde - pdf
222222_002_Cut - psd
222222_2_Bar - pdf
333333_ 3_2S_100 - pdf
333333_3_Barcode - psd
333333_A_-003_Cut - pdf
I need a batch file that will make folders 111111, 222222 and 333333 and move all the respective files into the respective folders. So, files 111111_1_abcde - pdf, 111111_001_Cut - psd, 111111_1_Bar - pdf will be in folder named after the fiest pdf w/c is files 111111_1_abcde - pdf that doesn't have extension of Bar.
I'm researching every now and then to figure this out that I just came up making 1 folder for the example mentioned above and not 3. I've been to stock overflow and other sites that helps in coding but ends up always a mistake.
For this i tried these programs with the basic language that i have about dos programming and using examples from other thread is this website
http://www.computerhope.com/forum/index.php?topic=152980.0I'm hoping that some script geek will have a lil time for this. It will be very appreciated
thanks in advance!