-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopy2usb.bat
34 lines (29 loc) · 951 Bytes
/
copy2usb.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@echo off
set /p disk=Which disk do you want to copy/¦s¨ìþ¤@ºÏºÐ?
for /F "usebackq delims=" %%i in (priority.txt) do md "%disk%:\%%i"
set work=%disk%:\%%i
for /F "usebackq delims=" %%i in (priority.txt) do (
cd %~dp0
cd %%i
echo Has been change to %%i/¤w¤Á´«¨ì%%i
for /f "usebackq" %%s in (`dir /a:-d /b ^|find /i /c ".mp3" `) do (
echo [101;44m COPYING %%i [0m
REM pause
for /L %%N in (1,1,%%s) do (
echo copying%%N/%%s
if %%N GTR 99 (
copy %%N*.* "%work%\%%N*.*"
echo %%N* done
) else if %%N GTR 9 (
copy 0%%N*.* "%work%\0%%N*.*"
echo %%N* done
) else (
copy 00%%N*.* "%work%\00%%N*.*"
echo %%N* done)
)
)
)
Echo/| CHOICE /N 2> nul & rem BEL
powershell -command "[console]::beep(500,300)"
echo [101;93m ALL DONE [0m
pause