Trying to figure out an efficient way to sort tv shows from download folder. I 
know this is far from the best solution but it's within my comfort zone :)

Anyway, I want the batch file to search the file name and move it to the correct folder

My TV Show folder structure is TV > Show Name > Season > Files

So for example if I have a file named Archer.S01E01.mkv I'd like it moved to TV > Archer > Season 1 etc. I've created a couple variables %source% and %dest% to cut down the amount of space needed as shown below:

```
::Show: Archer

move %source%*archer*S01* %dest%archer\"season 1"\

move %source%*archer*S02* %dest%archer\"season 2"\

move %source%*archer*S03* %dest%archer\"season 3"\

move %source%*archer*S04* %dest%archer\"season 4"\

move %source%*archer*S05* %dest%archer\"season 5"\

move %source%*archer*S06* %dest%archer\"season 6"\

Is there a way to use an array to move the files to the correct folders? Something along the lines of:

move %source%*archer*S0[1-6]* %dest%archer\"season [1-6]"\  ?

```

I know that particular example won't work, I'm guessing I'll need some sort of loop? But for the life of me I have no idea how to make that work.

It would be even better if the loop would go through the files and match part of the string to the show so I wouldn't have to create a command for each and every tv show I have in my library.

Any ideas or help would be greatly appreciated!

Thanks