Originally Posted by Brajesh
Is there a tool that can scan a directory and put all movie files in their own separate folders with the same name as the movie? Thanks.
paste the code below into a text file and save as whatever.bat then run it in the directory. Make sure you test it on a couple of files first.
for %%a in (*.*) do (
md "%%~na" 2>nul
move "%%a" "%%~na"
Warning....this will take all files regardless of extension and place them in directories of the same name.
So...if you have movie.mkv and movie.jpg they will be placed in the same directory. but if you have movie.mkv and folder.jpg they will be placed in 2 different directories.