rename tv show to file name with the following script
Posted: October 3rd, 2014, 2:22 pm
Hi guys,
I'm getting increasing tv shows with random tiles and would really like your help resolve this issue which would keep my wife happy when I'm away for work.
most of the shows shes watches are watched and deleted, therefore I had the following script created for me
this downloads the and removed the required file from it's folder and deletes the unwanted folder.
how do I use this and rename the file at the same time?
thanks
I'm getting increasing tv shows with random tiles and would really like your help resolve this issue which would keep my wife happy when I'm away for work.
most of the shows shes watches are watched and deleted, therefore I had the following script created for me
Code: Select all
@echo off
for /f "tokens=*" %%c in ('dir/b/a-d %1 ^| find /v /c "::"') do set filecount=%%c
if %filecount% LEQ 5 (
cd /d %1
for /f "tokens=*" %%f in ('dir /a-d /b') do if not exist "..\%%f" (
echo Moving %%f...
move "%%f" ".."
)
cd ..
echo Deleting folder...
rd %1
) else (
echo To many files to move, aborting...
)
how do I use this and rename the file at the same time?
thanks