Skip to content
Newer
Older
100644 18 lines (15 sloc) 727 Bytes
008f6d4 New colllection functions added to z_excel
Andy Shapiro authored Aug 15, 2011
1 :: Zip Commands
2 :: http://www.codejacked.com/zip-up-files-from-the-command-line/
ce3a805 @shapiromatron Added new custom extract commands for 7zip; specifically for extracti…
authored Sep 8, 2011
3 :: http://www.dotnetperls.com/7-zip-examples
008f6d4 New colllection functions added to z_excel
Andy Shapiro authored Aug 15, 2011
4
5 :: ADD FILE TO ZIP FILE
6 ::------------------------------------------
7 "C:\Program Files\7-zip\7z.exe" u -tzip text.zip outfile.txt
8
9 :: ADD FILE TO ZIP FILE, THEN DELETE FILE
10 ::------------------------------------------
11 "C:\Program Files\7-zip\7z.exe" u -tzip text.zip outfile.txt && del outfile.txt
12
ce3a805 @shapiromatron Added new custom extract commands for 7zip; specifically for extracti…
authored Sep 9, 2011
13 :: Extract a specific file from a zip file
14 ::------------------------------------------
15 :: If root directory:
16 "C:\Program Files\7-zip\7z.exe" e TestZipFile.zip TestZipFile\outfile.txt
17 :: If deeper directory (in this case, an Excel file):
18 "C:\Program Files\7-zip\7z.exe" e Test.xlsx xl\media\image1.gif
Something went wrong with that request. Please try again.