@echo off
echo.
echo [START] ─── 목록 작업 NAS 30 (W:) ───
echo.
set NAS30-DISK=W:
set NAS25-DISK=Y:
set SERVER_E=%NAS30-DISK%\SERVER_E
set SERVER_F=%NAS30-DISK%\SERVER_F
set SERVER_G=%NAS30-DISK%\SERVER_G
set SERVER_H=%NAS30-DISK%\SERVER_H
set VMW_3TB_E=%NAS25-DISK%\VMW_3TB_E
set VMW_3TB_F=%NAS25-DISK%\VMW_3TB_F
set VMW_3TB_G=%NAS25-DISK%\VMW_3TB_G
set VMW_3TB_H=%NAS25-DISK%\VMW_3TB_H
set NEW-1=(최신드라마)
set NEW-2=(최신영화)
set NEW-3=(최신예능TV쇼)
set OLD-1=1ㆍ최신동영상
set OLD-2=2ㆍ드라마
set OLD-3=3ㆍ영화
set OLD-4=4ㆍ예능TV쇼
set OLD-5=5ㆍ애니메이션
set OLD-6=6ㆍ교양
set OLD-7=7ㆍ교육강좌
set OLD-8=8ㆍTV프로그램
set OLD-9=9ㆍ동영상
set MUSIC-1=1ㆍ가요
set MUSIC-2=8ㆍ음악에세이
set FOLDER=D:\FOLDER
dir "%SERVER_E%\%NEW-1%" /ad /on /b > "%FOLDER%\NEW-1_최신드라마.txt"
dir "%SERVER_E%\%NEW-2%" /ad /on /b > "%FOLDER%\NEW-2_최신영화.txt"
dir "%SERVER_E%\%NEW-3%" /ad /on /b > "%FOLDER%\NEW-3_최신예능TV쇼.txt"
dir "%SERVER_E%\%OLD-1%" /ad /on /b > "%FOLDER%\OLD-1_최신동영상.txt"
dir "%SERVER_H%\%OLD-2%" /ad /on /b > "%FOLDER%\OLD-2_드라마.txt"
dir "%SERVER_G%\%OLD-3%" /ad /on /b > "%FOLDER%\OLD-3_영화.txt"
dir "%SERVER_F%\%OLD-4%" /ad /on /b > "%FOLDER%\OLD-4_예능TV쇼.txt"
dir "%SERVER_F%\%OLD-5%" /ad /on /b > "%FOLDER%\OLD-5_애니메이션.txt"
dir "%SERVER_F%\%OLD-6%" /ad /on /b > "%FOLDER%\OLD-6_교양.txt"
dir "%SERVER_F%\%OLD-7%" /ad /on /b > "%FOLDER%\OLD-7_교육강좌.txt"
dir "%SERVER_F%\%OLD-8%" /ad /on /b > "%FOLDER%\OLD-8_TV프로그램.txt"
dir "%SERVER_F%\%OLD-9%" /ad /on /b > "%FOLDER%\OLD-9_동영상.txt"
dir "%SERVER_F%\%MUSIC-1%" /ad /on /b > "%FOLDER%\MUSIC-1_가요.txt"
dir "%SERVER_F%\%MUSIC-2%" /ad /on /b > "%FOLDER%\MUSIC-2_음악에세이.txt"
dir "%FOLDER%" /on /b
echo.
echo [END] ─── 목록 작업 NAS 30 (W:) ───
echo.
timeout /t 5
exit