Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to achieve 7z format compression?
#5
I use the following code to extract the file, the result is failed, the hint message is behind, where is the wrong? Confusedhock:


Macro Macro2
Code:
Copy      Help
str sevenZip.expandpath("$qm$\7z.exe")
str file="$desktop$\test"
str zfile="$desktop$\test\file.7z"
file.expandpath
zfile.expandpath
RunConsole2(F"''{sevenZip}'' e ''{zfile}'' ''{file}''")

---------------------------------------------------------------------------------------------------------------------------------------


7-Zip [32] 16.04 : Copyright © 1999-2016 Igor Pavlov : 2016-10-04

Scanning the drive for archives:
1 file, 87527 bytes (86 KiB)

Extracting archive: C:\Users\Administrator\Desktop\test\file.7z
--
Path = C:\Users\Administrator\Desktop\test\file.7z
Type = 7z
Physical Size = 87527
Headers Size = 122
Method = LZMA2:384k
Solid = -
Blocks = 1


No files to process
Everything is Ok

Files: 0
Size: 0
Compressed: 87527


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)