※ 引述《ktll (浪跡天涯的旅人)》之銘言:: 1.想請問winrar如何批次解壓縮不同資料夾中的壓縮檔?: 舉例:: C:\1\壓縮檔1: C:\2\壓縮檔2: C:\3\壓縮檔3: 分別解壓縮到不同資料夾: C:\1\: C:\2\: C:\3\: 爬文看到: c:\PROGRA~1\winrar\rar.exe x "c:\1\*.rar" *.* "c:\1\": c:\PROGRA~1\winrar\rar.exe x "c:\2\*.rar" *.* "c:\2\": c:\PROGRA~1\winrar\rar.exe x "c:\3\*.rar" *.* "c:\3\": 一個一個KEY: 但是要是有10個甚至20個以上的資料夾: 該怎麼做? @echo off setlocal FOR /D %%A IN (C:\*) DO ( "C:\Program Files\WinRAR\rar" x "%%A\*.rar" "%%A\" ) endlocal 把以上內容存成123.bat 放哪都可以執行 : 2.另外請問 解壓縮成功後順便刪除壓縮檔的語法: 就是1解壓縮成功了然後要把不同資料夾中的壓縮檔直接刪除的辦法(不用分別刪除): 謝謝 應該是沒有參數可以用 網路上有人說 在GUI設定中保存刪除壓縮檔的設定 然後console也會去套用這個設定 但是 我自己測試是無效的 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.114.214.33※ 文章網址: http://www.ptt.cc/bbs/EZsoft/M.1410434799.A.293.html
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
You are receiving this email because you subscribed to this feed at blogtrottr.com.
留言列表