WFU

[ 精選文章 ]

自行車 入門 Escape 3 , Snap 21 , Revel

最近周末想運動 , 平日想通勤 , 想買台自行車 , 把自己找的資料跟大家分享 , 如果你是玩家級的 就不用看了 這是給跟我一樣的新新新手 參考的 騎車半年後的補充: 如果你有把握你是真的有時間有興趣會一直騎,建議還是存點錢買好一點的彎把公路車, 或是可以考慮買2手的自...

2025年11月14日 星期五

在 Shell 下 使用 BCFG 顯示 更改 boot option


To check if a boot option has been created or to view existing boot options within the EDK2 UEFI Shell, you can use the bcfg command.
The bcfg command allows you to manage boot options, including displaying, adding, removing, and reordering them.

2025年11月6日 星期四

7Z 對每個壓縮檔 個別壓縮成一個檔案

Use 7-Zip to Create Multiple Compressed Files for Each Folder

一般版本 

save the following script in the batch file

for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a  "%%X.7z" "%%X\"


針對以壓縮過的照片或影音檔 僅儲存

JPG Mp3 Mp4 這類的檔案 大多不適合再壓縮  適合用 7z 儲存加密備份 通常用 -mx0 即可

有些直出的影像檔壓縮率不高 可用 mx1-3 可明顯感覺有效

壓縮率 -mx0  [0 不壓縮 僅儲存 -9 最大壓縮]

不壓縮的檔案或資料夾  \build .git*

加密碼 -p -mhe [mhe 對檔名也加密]

for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a -mx0 -xr!build -xr!.cache -xr!*.git* -p"password" -mhe "%%X.7z" "%%X\"