@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
前面利用VBS隐藏,为什么这样后面的命令实现不了呀,请高手指点方法。
@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
前面利用VBS隐藏,为什么这样后面的命令实现不了呀,请高手指点方法。
