close
Blogtrottr
批踢踢實業坊 EZsoft 板
 
Re: [請問] 7zip的命令提示字元指令?
Nov 6th 2014, 03:50, by timshan

作者timshan (仲軒)

看板EZsoft

標題Re: [請問] 7zip的命令提示字元指令?

時間Thu Nov 6 03:50:42 2014

※ 引述《ljuber (美少婦與女兒同學的故事)》之銘言: : 我想問一下 : 裝了7zip後要怎樣把資料夾一起壓縮 : 用他的命令提示字元方式 : 我查了7z 沒有寫的很清楚 : ps:我有很多資料夾 想寫在批次檔內 直接把各個資料夾分別壓縮成各個用 : 資料夾命名的壓縮檔案 開始 @echo off for %%a in (%*) do if exist "%%~a\" ( for /f %%b in ('dir /b "%%~dpna\"') do ( "%~dp0\"7za.exe a -tzip "%%~dpna\%%b.zip" "%%~dpna\%%b\*" -mx0 ) ) exit 結束 存成副檔名為.cmd的檔案 然後把7za.exe和.cmd的檔案放在同一個資料夾 之後把母資料夾拖到.cmd的檔案上 就會把這個母資料夾底下的子資料夾壓縮成 以子資料夾為名的壓縮檔了 BTW 壓縮檔是建立在原本的母資料夾底下 -- 台北市長候選人 政見懶人包 柯文哲 http://goo.gl/hFHWRG 連勝文 製作中.... 馮光遠 製作中.... -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 112.104.194.74 ※ 文章網址: http://www.ptt.cc/bbs/EZsoft/M.1415217046.A.E2B.html ※ 編輯: timshan (112.104.194.74), 11/06/2014 03:53:19 ※ 編輯: timshan (112.104.194.74), 11/06/2014 03:55:51

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.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜

    ipokgfd1 發表在 痞客邦 留言(0) 人氣()