I''ve been playing around with a few BAT files but with no luck at all. What I'm after is a BAT file for my HTPC to create folders from tv recording filenames and move them into their appropriate folders etc.
It's probably been asked before but I couldnt find a solution on the net.
So basically I want to take these files and move them into a series folder for each show.
(A folder called Scrubs would be created and all files matching would be moved there)
(A folder called NCIS would be created and all files matching would be moved there)
All of the filenames have an underscore in common right after the name of the show so basically everything before the underscore would be the variable to create the folder. I just dont know how to trim the filename etc to do this.
Havent got any code to post sorry - bit of a noob when it comes to FOR loops.
Thanks in advance