可不可以用bat寫個批量解壓rar文件代碼?
path c:\program files\winrardir /s/b *.rar >tmp.txtrar x -ad *.rar data\dir /s/b *.zip >tmp.txtwinrar x -ad *.zip data\for /f "delims=" %i in (tmp.txt) do rar t "%i" || del /q "%i已實際測試,可正常解壓該目錄下所有的rar和zip文件
可不可以用bat寫個批量解壓rar文件代碼?
path c:\program files\winrardir /s/b *.rar >tmp.txtrar x -ad *.rar data\dir /s/b *.zip >tmp.txtwinrar x -ad *.zip data\for /f "delims=" %i in (tmp.txt) do rar t "%i" || del /q "%i已實際測試,可正常解壓該目錄下所有的rar和zip文件