
[已解決]請問批處理批量下載如何改成變量找了一下批量下載網量的如下代碼:@echo offMD c:biiikkKK024REM 設置curl.exe路徑set curl=C:biiicurl.exeREM 設置下載html的保存目錄路徑set dstdir=C:biiikkkk024REM 設置urls文件路徑set urlfile=c:biiiaa24.txtset tmpfile=%temp%~%random%pushd %dstdir%>%tmpfile% (echo --remote-name-allecho --locationecho --compressedecho --user-agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092416 Firefox/3.0.3for /f usebackq delims= %%A in (%urlfile%) do (echo --url %%A) )%curl% --config %tmpfile%del %tmpfile%popdpauseexit /bpause這三個紅色如何改成用一個變量完成?前面兩個2位數前要補個零,后面一個不需要。省得每改一次三個數字都要改,還老是忘了先謝了

