@echo off
cd\
V:
cd\
cd\0_최신동영상
cls
echo.
echo 대상경로 : V:\0_최신동영상
echo.
set /p DATE_S="시작 저번주 금요일(예:170101) 입력하세요 (시작일) : "
echo.
set /p DATE_E="종료 이번주 목요일(예:170108) 입력하세요 (종료일) : "
md V:\0_최신동영상\%DATE_S%~%DATE_E%
set FOLDER=%DATE_S%~%DATE_E%
echo.
echo.
echo ──────────────────────────
echo.
echo 기간 : %DATE_S%~%DATE_E%
echo.
echo ──────────────────────────
echo.
echo 생성된 폴더 : %FOLDER%
echo.
echo ──────────────────────────
echo.
echo.
timeout /t 30
move /y "V:\《최신예능TV쇼》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
move /y "V:\《최신드라마》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
set /a DATE_S+=1
move /y "V:\《최신예능TV쇼》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
move /y "V:\《최신드라마》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
set /a DATE_S+=1
move /y "V:\《최신예능TV쇼》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
move /y "V:\《최신드라마》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
set /a DATE_S+=1
move /y "V:\《최신예능TV쇼》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
move /y "V:\《최신드라마》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
set /a DATE_S+=1
move /y "V:\《최신예능TV쇼》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
move /y "V:\《최신드라마》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
set /a DATE_S+=1
move /y "V:\《최신예능TV쇼》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
move /y "V:\《최신드라마》\*%DATE_S%*.*" "V:\0_최신동영상\%FOLDER%"
move /y "V:\《최신예능TV쇼》\*%DATE_E%*.*" "V:\0_최신동영상\%FOLDER%"
move /y "V:\《최신드라마》\*%DATE_E%*.*" "V:\0_최신동영상\%FOLDER%"
pause
exit