close

we can use windows built-in command makecab to compress file

and use extrac32 to umcompress.

 

@echo off
echo make cab file...
makecab "C:\Users\test.txt" "C:\Users\my.zip"
echo done
pause

 

@echo off
echo extrac32 cab file...
extrac32 "C:\Users\my.zip" /L "C:\Users\test\"
echo done
pause

makecab

extrac

extrac32

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 JohnDX 的頭像
    JohnDX

    我要回家想一想~

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